Skip to content
gmish27 edited this page Jan 25, 2015 · 1 revision

In the downloaded architecture provision has only been made to work with the memory reference and the register reference instructions (you can get the list from the book). Their is no provision to work with the input/output instructions and the interrupt cycle.

I have also included a text file called “t.txt” with an example program that can be burned into the ROM. You can write your own program for further testing purpose using the hexadecimal coding provided in the book. (I’ll soon post a C++ program to help you with it). The description of the testing program is:

Hexadecimal Code Meaning

  1. 200a Load content from memory to AC. It loads the data from address ‘a’ to AC.

  2. 100b ADD to AC the content stored at address ‘b’ from ROM.

  3. 300c Store the content of AC at address ‘c’ in ROM.

  4. 200c Load the content from ROM address ‘c’ in AC.

  5. 7020 Increment AC

  6. 7400 Clear E

  7. 7080 Circulate AC right

  8. 7100 Complement E

  9. 7040 Circulate AC left

  10. 0000 Do Nothing

  11. 0f0f The data stored at the ROM address ‘a’

  12. f102 The data stored at the ROM address ‘b’

Basically I attempted to test some memory reference and register reference instructions using this code. You can go with your own testing skills.

Clone this wiki locally