


Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
An overview of the various addressing modes available on the 6811 microcontroller, including inherent, immediate, direct, relative, and indexed addressing. It explains how each mode works and provides examples. Students will gain a solid understanding of these addressing modes and their applications.
Typology: Lab Reports
1 / 4
This page cannot be seen from the preview
Don't miss anything!



aba
suba #$0A a = a - 10 suba #10 a = a - 10 suba #%1010 a = a - 10
suba #$0A a = a - 10 subd #$000A d = d - 10
org $0000 RAM var ds 1 org $D000 ROM const db 27 start lda const sta var
org $D000 ROM here sta oldA oldA = A cba bne here if a not equal b jmp there otherwise org $E000 ROM there sta oldA oldA = A
org $0010 RAM address 16 array ds 5 org $D000 ROM const db 27,$AA,57,-3, start ldx #const load address of const into X index register ldy #array load address of array into Y index register lda 2,X copy const[2] = 57 into array[2] at address $ sta 2,Y
org $0000 RAM array ds 5 org $D000 ROM const db 27,$AA,57,-3,
element value 0 1 2 3 4 5 6 7 8 9