Ignore:
Timestamp:
Aug 7, 2024, 12:35:37 AM (2 months ago)
Author:
chronos
Message:
  • Modified: Updated Common package.
  • Fixed: Wrong return address from CALL instruction.
Location:
branches/ByteArray
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/ByteArray

    • Property svn:ignore
      •  

        old new  
        55ByteArray.lps
        66ByteArray.res
         7ByteArray.exe
  • branches/ByteArray/Cpu.pas

    r10 r11  
    392392
    393393procedure TCpu.InstructionCall;
    394 begin
     394var
     395  NewAddress: TInt;
     396begin
     397  NewAddress := Read(AddressWidth);
    395398  Push(PC, AddressWidth);
    396   PC := Read(AddressWidth);
     399  PC := NewAddress;
    397400end;
    398401
Note: See TracChangeset for help on using the changeset viewer.