hw4 - . 0059 50 35 51 50 . 005D 51 50 51 50 . 0061 51 50 51...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
ADDR B1 B2 B3 B4 thrass11.tmp PAGE 1 org $10 0010 4F start clra 0011 CE 00 51 ldx #Coins 0014 F6 00 50 ldab Aaa 0017 6D 00 loop tst 0,x 0019 27 0E beq done 001B E1 00 cmpb 0,x 001D 27 03 beq addanx 001F 08 addx inx 0020 20 F5 bra loop 0022 08 addanx inx 0023 4C inca 0024 B7 00 86 staa Pennies 0027 20 EE bra loop 0029 20 FE done bra done org $50 0050 50 Aaa fcc "P" 0051 51 50 50 51 Coins fcc . 0055 51 50 50 51 "QPPQQPPQPQQPQPQPQPQPQPQPQPQNQNQNQNNQNQNQNQNNQNQNQDNN"
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: . 0059 50 35 51 50 . 005D 51 50 51 50 . 0061 51 50 51 31 . 0065 51 50 51 50 . 0069 51 50 51 4E . 006D 51 20 51 4E . 0071 51 4E 4E 51 . 0075 4E 51 4E 35 . 0079 4E 51 4E 4E . 007D 51 4E 51 4E . 0081 51 31 4E 4E 0085 00 fcb 0 0086 00 Pennies fcb 0 Symbol Table ADDX 001F DONE 0029 COINS 0051 ADDANX 0022 START 0010 AAA 0050 PENNIES 0086 LOOP 0017...
View Full Document

Ask a homework question - tutors are online