cihan72 - LDAB#$20 LDY#$B016 LDX#SPTBASE LDAANOT...

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

View Full Document Right Arrow Icon
Sheet1 Page 1 EE446 EXP 7 RTEQU$0100 SPTBASEEQU$0101 NOTEQU$0000 BATBASEEQU$0001 * *TASK1 ORG$A000 LOOP1LDAA#$3F LOOP12LDAB#$FF LOOP11DECB BNELOOP11 DECA BNELOOP12 LDAA#$07 JSR$FFB8 BRALOOP1 * *TASK2 ORG$A100 LOOP2LDAA#$FF LOOP22LDAB#$FF LOOP21DECB BNELOOP21 DECA BNELOOP22 LDAA#$65 JSR$FFB8 BRALOOP2 * *TASK3 ORG$A200 LOOP3LDAA#$7F LOOP32LDAB#$FF LOOP31DECB BNELOOP31 DECA BNELOOP32 LDAA#$40 EORA$1000 STAA$1000 BRALOOP3 * *INT VECTOR ORG$00D0 JMPISR * *MAIN ORG$8000 LDS#$9000
Background image of page 1

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

View Full DocumentRight Arrow Icon
Sheet1 Page 2 LDAA#$80 STAA$1024 STAA$1025 SEI * *INITIALIZATION INITLDAA#$01 STAART LDAB#$03 STABNOT LDX#BATBASE LDY#$00 ABY LDAA#$A0 LDAB#$00 INIT1STD$00,X INCA INX INX DEY BNEINIT1
Background image of page 2
Background image of page 3
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: LDAB#$20 LDY#$B016 LDX#SPTBASE LDAANOT INIT2STY$00,X ABY INX INX DECA BNEINIT2 LDX#BATBASE LDY#$B01E LDAANOT INIT3LDAB$00,X STAB$00,Y CLR$01,Y LDAB#$20 ABY INX INX DECA BNEINIT3 LDY#$B017 LDAB#$20 LDAANOT INIT4CLR$00,Y ABY DECA BNEINIT4 * CLI Sheet1 Page 3 LDS$0101 RTI * JSR$FF7C * *INTERRUPT SBR ISRSEI LDABRT ASLB LDX#SPTBASE DEX DEX ABX STS$00,X INCRT LDAART SUBANOT DECA BNESKIP LDAA#$01 STAART SKIPLDABRT ASLB LDX#SPTBASE DEX DEX ABX LDS$00,X * LDAA#$80 STAA$1024 STAA$1025 * CLI RTI * END...
View Full Document

This note was uploaded on 04/09/2010 for the course EE ee446 taught by Professor Guran during the Spring '10 term at Middle East Technical University.

Page1 / 3

cihan72 - LDAB#$20 LDY#$B016 LDX#SPTBASE LDAANOT...

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