Question: Instruction set for a Relatively Simple CPU Instruction Instruction Code NOP LDAC STAC MVAC MOVR JUMP JMPZ JPNZ ADD SUB INAC CLAC AND OR XOR

 Instruction set for a Relatively Simple CPU Instruction Instruction Code NOPLDAC STAC MVAC MOVR JUMP JMPZ JPNZ ADD SUB INAC CLAC AND

Instruction set for a Relatively Simple CPU Instruction Instruction Code NOP LDAC STAC MVAC MOVR JUMP JMPZ JPNZ ADD SUB INAC CLAC AND OR XOR NOT Operation No operation 0000 0001 | AC-MI! 0000 001 0 M[T]AC 0000 0011 0000 0100 00000101 | GOTO 0000 0110 IF (Z=1) THEN GOTO 0000 011 | | IF (Z-0) THEN GOTO 0000 1000 | AC-AC + R, IF (AC + R = 0) THEN Z-1 ELSE Z 0 0000 1001 0000 1010 | AC-AC + 1 , IF (AC + 1 = 0) THEN Z-1 ELSE Z-0 0000 1011 0000 1 1 00 | AC-AC^ R, IF (AC^ R = 0) THEN Z-1 ELSE Z 0 0000 1101 0000 1 1 1 0 | AC-AC R, IF (AC R 0) THEN Z-1 ELSE Z0 0000 11 ACAC', IF (AC 0) THEN Z-1 ELSE Zf-0 Re AC AC-R AC-AC-R, IF (AC-R = 0) THEN Z-1 ELSE Z 0 AC-0, Z-1 Instruction set for a Relatively Simple CPU Instruction Instruction Code NOP LDAC STAC MVAC MOVR JUMP JMPZ JPNZ ADD SUB INAC CLAC AND OR XOR NOT Operation No operation 0000 0001 | AC-MI! 0000 001 0 M[T]AC 0000 0011 0000 0100 00000101 | GOTO 0000 0110 IF (Z=1) THEN GOTO 0000 011 | | IF (Z-0) THEN GOTO 0000 1000 | AC-AC + R, IF (AC + R = 0) THEN Z-1 ELSE Z 0 0000 1001 0000 1010 | AC-AC + 1 , IF (AC + 1 = 0) THEN Z-1 ELSE Z-0 0000 1011 0000 1 1 00 | AC-AC^ R, IF (AC^ R = 0) THEN Z-1 ELSE Z 0 0000 1101 0000 1 1 1 0 | AC-AC R, IF (AC R 0) THEN Z-1 ELSE Z0 0000 11 ACAC', IF (AC 0) THEN Z-1 ELSE Zf-0 Re AC AC-R AC-AC-R, IF (AC-R = 0) THEN Z-1 ELSE Z 0 AC-0, Z-1

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!