Changeset 220 for branches/CpuSingleSize/UInstructions.pas
- Timestamp:
- Oct 20, 2020, 1:10:09 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/CpuSingleSize/UInstructions.pas
r219 r220 9 9 10 10 type 11 TParamType = (ptNone, ptNumber, ptReg, ptRegIndirect, ptRegIndirectIndex); 11 TParamType = (ptNone, ptNumber, ptReg, ptRegIndirect, ptRegIndirectIndex, 12 ptRegIndirectGroup); 12 13 TParamTypeArray = array of TParamType; 13 14 … … 82 83 AddNew(inAdd, 'ADD', [ptReg, ptReg], 'Adds second register to first register.'); 83 84 AddNew(inSub, 'SUB', [ptReg, ptReg], 'Subtracts second register from first register.'); 84 AddNew(inIn, 'IN', [ptReg, ptRegIndirect ], 'Reads value from input port to register.');85 AddNew(inOut, 'OUT', [ptRegIndirect , ptReg], 'Writes value from register to output port.');85 AddNew(inIn, 'IN', [ptReg, ptRegIndirectGroup], 'Reads value from input port to register.'); 86 AddNew(inOut, 'OUT', [ptRegIndirectGroup, ptReg], 'Writes value from register to output port.'); 86 87 AddNew(inJumpZero, 'JZ', [ptReg, ptNumber], 'Jumps to given address if value of register is zero'); 87 88 AddNew(inJumpNotZero, 'JNZ', [ptReg, ptNumber], 'Jumps to given address if value of register is not zero');
Note:
See TracChangeset
for help on using the changeset viewer.