Changeset 179 for branches/virtualcpu4/UInstructionWriter.pas
- Timestamp:
- Apr 12, 2019, 3:23:47 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/virtualcpu4/UInstructionWriter.pas
r178 r179 47 47 procedure Push(Reg: TRegIndex); 48 48 procedure Pop(Reg: TRegIndex); 49 procedure Call(Addr: QWord); 50 procedure Return; 49 51 procedure DataPrefix8; 50 52 procedure DataPrefix16; … … 205 207 end; 206 208 209 procedure TInstructionWriter.Call(Addr: QWord); 210 begin 211 PrefixBegin; 212 Write8(Byte(opCall)); 213 WriteAddress(Addr); 214 PrefixEnd; 215 end; 216 217 procedure TInstructionWriter.Return; 218 begin 219 PrefixBegin; 220 Write8(Byte(opRet)); 221 PrefixEnd; 222 end; 223 207 224 procedure TInstructionWriter.DataPrefix8; 208 225 begin
Note:
See TracChangeset
for help on using the changeset viewer.