Put your social security number in the right hand corner of each page. Please do not put your name anywhere on this quiz. Failure to follow these instructions will cost you 1 point on the quiz. Note: Be sure to show all your work and no calculators. You will have until the end of class to complete the quiz.
Code Structure Type
a. loop1 ldaa mem1 Repeat Loop
cba
bhi loop1
b. fred ldaa #$99 Sequential
tba
ldaa #44
stab mem1
staa mem2
c. sam beq charlie While Loop
decb
deca
bra sam
charlie tab
d. sanm ldaa first If .. Then .. Else
lanm ldab second
cba
bge bigger
stab large
bra cont
bigger staa large
cont bra
sanm
e. larry inx Repeat Loop
ldab wcnt
larry1 subb one While Loop
bcc larry
dec wcnt1
bra larry1