Midterm Flashcards
How do you objectively campare the complexity of two circuits
number of gates. max propogation delay, number of transistors
JSR - 6502
jump to sub routine, push the address of the next op on to the stack
TSX - 6502
transfer stack pointer to x.
minumum # of basic logic gates for a half adder
2
minimmum # of basic logic gates for a full adder
5
Universal set
express any boolean function using only the gates in S
Name the universal sets
AND,OR,NOT NAND NOR AND, NOT
SCRAM lacked circuitry for what commands?
JMZ, ADD, SUB
the ones complement of signed integers has two zeros +0 and -0
true: 0000, 1111
Ones compliment
obtained by inverting all bits in the binary number. negative if first digit is 1
6502 BNE command
branches if zero flag is clear.
6502 BCC
branches if carry flag clear
6502 BCS
branches if carry flag set
6502 BEQ
branches if zero flag set
6502 BMI
branch if negative flag set
6502 BPL
Branches if negativ eflag clear
6502 BVC
branch if overflow flag clear
6502 BVS
branch if overflow flag set
twos compliment of 5 bit range
-2^4 to 2^4 -1
The encoding for all 6502 instructions is between 2 and 4 bytre long
false, sta $ffff is 5 bytes, ASL and TXA are 1
of SCRAM machine instructions
16 - there are 16 pins
6502 CLC
clear carry flag
6502 CLD
clear decimal mode flag
6502 CLI
clear interrupt disable flag