Data Types in Abstract machine
Ipacket - instruction packet. Fields are:
- src1, src2, dest, immediate value, opcode
- For ‘add r2, r3,r4’, values would be src1 = 3, src2 = 4, dest = 2, immediate value = NA, opcode = ADDR (add register)
Epacket - contains values read from register file. Fields are:
- src1, src1_value, src2, src2_value, dest, immediate, opcode
- src1_value, src2_value are supplied from register file
-