Question: All programs written should use the following table format: MEMORY ADDRESS HEX OPERATION CODE or OPERAND HEX OPERATION CODE or OPERAND Binary MNEMONICS or CONTENTS
All programs written should use the following table format:
| MEMORY ADDRESS HEX | OPERATION CODE or OPERAND HEX | OPERATION CODE or OPERAND Binary | MNEMONICS or CONTENTS | COMMENTS |
| 00 | 86 | 10000110 | LDA | Load accumulator immediate |
| 01 | 2F | 00101111 | 4710 | operand 4710 |
|
|
|
|
|
|
- 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 1 The final result should be stored in memory 0xA0.
- 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 0xB0.
- 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 0xC0.
- 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 0xD0.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
