hw91 - ADDR B1 B2 B3 B4 C:\Users\zxcv888'\Documents\ECE...

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 C:\Users\zxcv888'\Documents\ECE 265\hw91.asm PAGE 1 org $0000 t0ttl rmb 2 t6ttl rmb 2 cnvrt rmb 2 option equ $1039 adctl equ $1030 adr1 equ $1031 adr2 equ $1032 pioc equ $1002 portb equ $1004 portcl equ $1005 ttl equ $0001 0006 59 4F 55 20 txt fcc "YOU ENTERED $" . 000A 45 4E 54 45 . 000E 52 00 44 20 . 0012 24 0013 00 fcb 0 preparing 0014 70 72 65 70 fcc "preparing" . 0018 61 72 69 6E . 001C 67 001D 00 fcb 0 dispensing 001E 64 69 73 70 fcc "dispensing" . 0022 65 6E 73 69 . 0026 6E 67 0028 00 fcb 0 ready 0029 72 65 61 64 fcc "ready" . 002D 79 002E 00 fcb 0 org $c000 C000 86 00 begin ldaa #0 C002 B7 10 40 staa $1040 C005 CC 00 00 ldd #0 C008 DD 00 std t0ttl C00A DD 02 std t6ttl C00C DD 04 std cnvrt C00E 7D 10 02 start tst pioc C011 2A FB bpl start C013 B6 10 05 ldaa portcl C016 C6 00 ldab #00 C018 11 cba C019 27 1C beq p0 C01B C6 01 ldab #01 C01D 11 cba C01E 27 1A beq pny C020 C6 02 ldab #02
Background image of page 1

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

View Full DocumentRight Arrow Icon
C022 11 cba C023 27 20 beq nkl C025 C6 04 ldab #04 C027 11 cba C028 27 26 beq dme C02A C6 08 ldab #08 ADDR B1 B2 B3 B4 C:\Users\zxcv888'\Documents\ECE 265\hw91.asm PAGE 2 C02C 11 cba C02D 27 2C beq qtr C02F C6 80 ldab #$80 C031 11 cba C032 27 32 beq coffee C034 7E C1 4B jmp prtj C037 7E C1 43 p0 jmp prt0 pny C03A C6 01 ldab #01 C03C BD C0 C3 jsr attl C03F BD C0 CD jsr pttl C042 7E C1 53 jmp prto nkl C045 C6 05 ldab #05 C047 BD C0 C3 jsr attl C04A BD C0 CD jsr pttl C04D 7E C1 53 jmp prto dme C050 C6 0A ldab #10 C052 BD C0 C3 jsr attl
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.

This note was uploaded on 11/15/2010 for the course ECE 265 taught by Professor N /a during the Spring '08 term at Ohio State.

Page1 / 7

hw91 - ADDR B1 B2 B3 B4 C:\Users\zxcv888'\Documents\ECE...

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