Question: 2(A.) (15 points) Assemble the following code segment (use Appendix Al in the book). Note that some rows in the machine code column may contain

 2(A.) (15 points) Assemble the following code segment (use Appendix Al

2(A.) (15 points) Assemble the following code segment (use Appendix Al in the book). Note that some rows in the machine code column may contain more than one byte, and some rows may have no machine code. Specify the address for each instruction op-code in the LOCATION column. Do not forget the $-sign for hex numbers. Note: 'ORG SC000' is an assembler directive that sets the address for the opcode of the instruction immediately following the ORG statement to SC000. Assembler directives do not produce any machine code. 2(B.) (5 points) Indicate the addressing mode of each instruction in the appropriate column. ADDRESS MODELOCATION MACHINE CODE ORG $C000 LDX $000E LDY |#8000E LDX 2,X LDAA OX $C000 LOOP | LDABLY ABA BPL LOOP 2(A.) (15 points) Assemble the following code segment (use Appendix Al in the book). Note that some rows in the machine code column may contain more than one byte, and some rows may have no machine code. Specify the address for each instruction op-code in the LOCATION column. Do not forget the $-sign for hex numbers. Note: 'ORG SC000' is an assembler directive that sets the address for the opcode of the instruction immediately following the ORG statement to SC000. Assembler directives do not produce any machine code. 2(B.) (5 points) Indicate the addressing mode of each instruction in the appropriate column. ADDRESS MODELOCATION MACHINE CODE ORG $C000 LDX $000E LDY |#8000E LDX 2,X LDAA OX $C000 LOOP | LDABLY ABA BPL LOOP

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!