Question: All programs written should use the following table format: MEMORY ADDRESS HEX 00 01 OPERATION CODE or OPERAND HEX 86 2F OPERATION CODE or
All programs written should use the following table format: MEMORY ADDRESS HEX 00 01 OPERATION CODE or OPERAND HEX 86 2F OPERATION CODE or OPERAND Binary 10000110 00101111 MNEMONICS or CONTENTS LDA 47190 COMMENTS Load accumulator immediate operand 4710 1. Write a program to be placed in memory as binary values using the instruction set of the 6800 MPU. The program is designed to add (use the immediate addressing mode) the following three decimal numbers: 5, 9, and 11. The final result should be stored in memory OxAD. 2. Write a program to be placed in memory as binary values using the instruction set of the 6800 MPU. The program is designed to add (use the direct addressing mode) the following three decimal numbers: 8, 12, and 21. The final result should be stored in memory OXBO. 3. Write a program to be placed in memory as binary values using the instruction set of the 6800 MPU. The program is designed to subtract (use the immediate addressing mode) the decimal number 7 from the number 21. The final result should be stored in memory OxCO. 4. Write a program to be placed in memory as binary values using the instruction set of the 6800 MPU. The program is designed to subtract (use the direct addressing mode) the decimal number 11 from the number 37. The final result should be stored in memory OxDO. I
Step by Step Solution
3.42 Rating (155 Votes )
There are 3 Steps involved in it
1 Write a program to be placed in memory as binary values using the instruction set of the 6 800 MP U The program is designed to add use the immediate ... View full answer
Get step-by-step solutions from verified subject matter experts
