This preview shows pages 1–3. Sign up to view the full content.
This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: AC. IN <Device # >* A value from the input device is transferred into the AC. OUT <Device #> * Print out the contents of the AC in the output device. END The machine stops execution of the program. JMP <X> 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 <5> 23 where 23 is the value you are typing in. CGS 3269 Fall 2009 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 <0004> 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