Research Article

Design Example of Useful Memory Latency for Developing a Hazard Preventive Pipeline High-Performance Embedded-Microprocessor

Table 5

The instruction set format.
(a) Direct/Indirect Address Mode (bit location)

OPCODEADDMODETARGETSOURCENOTHING

15121110965210

(b) Immediately Address Mode (bit location)

OPCODEADDMODETARGETIMMEDICATE

151211109650

(c)

Instruction FunctionDirect address modeImmediately address modeIndirect address modeComments

ANDAND operationAND R0, R1AND R0, #10AND R0, @R1
OROR operationOR R0, R1OR R0, #10OR R0, @R1
NOTNOT operationNOT R0
XORExclusive ORXOR R0, R1XOR R0, #10XOR R0, @R1
ADDAdditionADD R0, R1ADD R1, #10ADD R0, @R1
SUBSubtractSUB R0, R1SUB R0, #10SUB R0, @R1
MULMultiplyMUL R0, R1
MOVMoveMOV R0, R1MOV R0, #10MOV R0, @R1R0 R1
JMPJumpJMP #10PC value change
JGECondition jumpJGE #10PC value change
CMPComparisonCMP R0, R1
NOPNo operationNo operation
STAStore to memorySTA M R0 , R1STA M 0 , R1M[R0] R1
LDALoad from memoryLDA R0, M R1 LDA R0, M 0 R0 M R1