This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: AC. IN &lt;Device # &gt;* A value from the input device is transferred into the AC. OUT &lt;Device #&gt; * Print out the contents of the AC in the output device. END The machine stops execution of the program. JMP &lt;X&gt; Causes an unconditional branch to address X. PC X SKIPZ If the contents of the Accumulator = 0 the next instruction is skipped. * Device # Device 5 Keyboard 7 Printer 9 Screen For instance you can write: 003 IN &lt;5&gt; 23 where 23 is the value you are typing in. CGS 3269 Spring 2007 Instruction Set Architecture Codes : 01 LOAD 02 ADD 03 STORE 04 SUB 05 IN 06 OUT 07 END 08 JMP 09 SKIPZ Instruction format assuming 6 digits, 2 are used for the op-code and 6 for the address, for example LOAD &lt;0004&gt; will be represented as: It can be written as 010004 using decimal numbers. LOAD 0004...
View Full Document
This note was uploaded on 06/13/2011 for the course CGS 3269 taught by Professor Staff during the Spring '08 term at University of Central Florida.
- Spring '08
- Computer Architecture