Changeset 55 for branches/ByteArray/Cpu.pas
- Timestamp:
- Nov 22, 2023, 10:09:35 PM (20 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/ByteArray/Cpu.pas
r52 r55 269 269 RegIndex := ReadRegIndex; 270 270 Address := Read(AddressWidth); 271 if Byte(Regs[RegIndex])<> 0 then271 if Regs[RegIndex] <> 0 then 272 272 PC := Address; 273 273 end; … … 284 284 RegIndex := ReadRegIndex; 285 285 Address := Read(AddressSize); 286 if Int64(Regs[RegIndex].Copy(DataSize)) <> 0 then286 if Regs[RegIndex].Copy(DataSize) <> 0 then 287 287 PC := Address; 288 288 end; … … 295 295 RegIndex := ReadRegIndex; 296 296 Address := Read(AddressWidth); 297 if Byte(Regs[RegIndex])= 0 then297 if Regs[RegIndex] = 0 then 298 298 PC := Address; 299 299 end; … … 310 310 RegIndex := ReadRegIndex; 311 311 Address := Read(AddressSize); 312 if Int64(Regs[RegIndex].Copy(DataSize)) = 0 then312 if Regs[RegIndex].Copy(DataSize) = 0 then 313 313 PC := Address; 314 314 end;
Note:
See TracChangeset
for help on using the changeset viewer.