test - loop bra loop hex2bcd C01D 37 pshb C01E 16 tab...

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

View Full Document Right Arrow Icon
ADDR B1 B2 B3 B4 C:\Users\zxcv888'\Documents\ECE 265\test.asm PAGE 1 org $0000 outlhlf equ $ffb2 outrhlf equ $ffb5 outcrlf equ $ffc4 input equ $ffac outa equ $ffb8 option equ $1039 adctl equ $1030 adr1 equ $1031 org $c000 C000 86 80 begin ldaa #%10000000 C002 B7 10 39 staa option C005 86 28 ldaa #40 C007 86 20 ldaa #%00100000 C009 B7 10 30 staa ADCTL C00C B6 10 31 ldaa ADR1 C00F C6 32 ldab #50 C011 3D mul C012 CE 00 FF ldx #255 C015 02 idiv C016 8F xgdx C017 17 tba C018 BD C0 1D jsr hex2bcd C01B 20 FE
Background image of page 1

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

View Full DocumentRight Arrow Icon
Background image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: loop bra loop hex2bcd C01D 37 pshb C01E 16 tab h2b.lt C01F C1 0A cmpb #10 C021 25 06 blo h2b.done C023 C0 0A subb #10 C025 8B 06 adda #6 C027 20 F6 bra h2b.lt h2b.done C029 33 pulb C02A 39 rts org $fffe FFFE C0 00 fdb begin Symbol Table HEX2BCD C01D OPTION 1039 Symbol Table C:\Users\zxcv888'\Documents\ECE 265\test.asm PAGE 2 OUTA FFB8 BEGIN C000 OUTLHLF FFB2 H2B.LT C01F OUTRHLF FFB5 ADCTL 1030 OUTCRLF FFC4 ADR1 1031 INPUT FFAC LOOP C01B H2B.DONE C029...
View Full 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 / 2

test - loop bra loop hex2bcd C01D 37 pshb C01E 16 tab...

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

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