Ignore:
Timestamp:
Aug 1, 2024, 11:47:03 PM (3 months ago)
Author:
chronos
Message:
  • Added: More instructions implemented.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/bigint/Assembler.pas

    r4 r7  
    213213        ParseNumParam(Token);
    214214      end else
     215      if InstructionInfo.Params[I] = ptIndirect2 then begin
     216        Parser.Expect(tkSpecialSymbol, '((');
     217        Parser.Expect(tkSpecialSymbol, '(');
     218        Token := Parser.ReadNext;
     219        if TryStrToInt(Token.Value, Number) then
     220          Memory.WritePos(Number)
     221          else Error('Expected numeric index error', Token.Pos);
     222        Parser.Expect(tkSpecialSymbol, '))');
     223        Parser.Expect(tkSpecialSymbol, '))');
     224      end else
    215225      if InstructionInfo.Params[I] = ptIndirect then begin
    216226        Parser.Expect(tkSpecialSymbol, '(');
Note: See TracChangeset for help on using the changeset viewer.