Week 6 / Machine Language Flashcards
half-adder
can’t handle addition of more then one bit
full-adder
has extra logic to handle carry input / more then one bit can be added
flip-flop
allows you to store the state of a bit
register
use many flip-flops to store sequences of bits
accumulator
temporary storage place where you can manipulate the bits. EVERYTHING must be done in accumulator
instruction pointer
the next address of what will be executed
ports
to which we can write information to and read input
instruction register
where fetched instruction is held so it can be decoded
fetch
load value from address x into the instruction register for decoding
decode
decode the 32-bits into the opcode and the address
execute
make it happen in the logic of the processor
assembler
acts as translator, allows us to write our programs in mnemonics, then translates that code to machine
machine language
the patterns of ones and zeros that we create by assembling the mnemonic code we write in our assembler language
complex instruction set computer “CISC”
occupies less storage, larger execution time, has things like multiply/divide/etc
reduced instruction set computer “RISC”
faster at executing, limited instructions, ex: must use add instead of multiply