Write down the object code for the following program


--Write the machine code for the assembly language source code of listing ex2a. * Listing ex2a

*Assembly exercise

*and execution history exercise

*for inherent, immediate, and extended addressing modes

ORG $E000 ;start address of program

LDS #$OOFF

LDD $C010

STD $C012

LDY #$20 ; note IY is a 16-bit register

ABY

ANDA#$16

BRA * ;its machine code is FE

 

--Write down the object code for the following program, assuming that it is not necessary to force extended addressing.

ORG $E000

LDAA #$40

LDAA $40

LDAA $0040

Also, indicate the addressing mode for each instruction.

 

 

Solution Preview :

Prepared by a verified Expert
Computer Engineering: Write down the object code for the following program
Reference No:- TGS0666445

Now Priced at $40 (50% Discount)

Recommended (93%)

Rated (4.5/5)