HtoDmtest - ADDR B1 B2 B3 B4 thrass11.tmp org $00 0000 0001...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
ADDR B1 B2 B3 B4 thrass11.tmp PAGE 1 org $00 0000 4F start clra 0001 5F clrb 0002 FD 00 55 std locx 0005 CE D0 60 ldx #Coins 0008 6D 00 count tst 0,x 000A 27 4D beq jump 000C C6 50 ldab #'P 000E E1 00 cmpb 0,x 0010 27 12 beq addP 0012 C6 4E ldab #'N 0014 E1 00 cmpb 0,x 0016 27 18 beq addN 0018 C6 44 ldab #'D 001A E1 00 cmpb 0,x 001C 27 1E beq addD 001E C6 51 ldab #'Q 0020 E1 00 cmpb 0,x 0022 27 24 beq addQ 0024 FC 00 55 addP ldd locx 0027 C3 00 01 addd #1 002A FD 00 55 std locx 002D 08 inx 002E 9D 08 jsr count 0030 FC 00 55 addN ldd locx 0033 C3 00 05 addd #5 0036 FD 00 55 std locx 0039 08 inx 003A 9D 08 jsr count 003C FC 00 55 addD ldd locx 003F C3 00 0A addd #10 0042 FD 00 55 std locx 0045 08 inx 0046 9D 08 jsr count 0048 FC 00 55 addQ ldd locx 004B C3 00 19 addd #25 004E FD 00 55 std locx 0051 08 inx 0052 9D 08 jsr count org $55 locx rmb 2 org $59 0059 7E 00 5C jump jmp convert 005C DE 55 convert ldx locx 005E 18 DE 55 ldy locx 0061 18 3C lt pshy
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
0063 32 pula 0064 33 pulb 0065 1A 83 00 64
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 4

HtoDmtest - ADDR B1 B2 B3 B4 thrass11.tmp org $00 0000 0001...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online