test - mul ldx #255 idiv i xgdx tba t jsr hex2bcd j loop...

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

View Full Document Right Arrow Icon
org $0000 outlhlf equ $ffb2 outrhlf equ $ffb5 outcrlf equ $ffc4 input equ $ffac outa equ $ffb8 e option equ $1039 adctl equ $1030 adr1 equ $1031 e org $c000 o begin ldaa #%10000000 staa option s ldaa #%00100000 staa ADCTL s ldaa ADR1 l ldab #50
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: mul ldx #255 idiv i xgdx tba t jsr hex2bcd j loop bra loop b hex2bcd h pshb tab t h2b.lt h cmpb #10 blo h2b.done b subb #10 adda #6 bra h2b.lt b h2b.done pulb rts r org $fffe fdb begin f...
View Full Document

Ask a homework question - tutors are online