Created
November 13, 2021 19:40
-
-
Save agatti/8b23b4596d678e52f1662af5f8099d32 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
initial context bits: 00000000.00000000.00000000.00000000 | |
resolving constructor for instruction bytes at: ram:0462 | |
decide on instruction bits: byte-offset=0, bitrange=(7,7), value=0x0, bytes=0001010(0) | |
decendent constructors for decision node (complete tree dump ordered by line number): | |
: {line# 47} <instruction> | |
: {line# 49} <instruction> | |
: {line# 153} AND <A>, <ASMEMOP> | |
: {line# 209} DEC <BITOP> | |
: {line# 215} HALT | |
: {line# 220} INC <BITOP> | |
: {line# 226} IRET | |
: {line# 244} JRET <ADDROP> | |
: {line# 248} LD <A>, <ASMEMOP> | |
: {line# 258} LD <X>, <XSMEMOP> | |
: {line# 268} LD <Y>, <YSMEMOP> | |
: {line# 308} LD <A>, <S> | |
: {line# 318} LD <X>, <S> | |
: {line# 323} LD <S>, <X> | |
: {line# 328} LD <Y>, <S> | |
: {line# 333} LD <S>, <Y> | |
: {line# 338} MUL <X>, <A> | |
: {line# 349} MUL <Y>, <A> | |
: {line# 360} NEG <BITOP> | |
: {line# 371} OR <A>, <ASMEMOP> | |
: {line# 378} POP <A> | |
: {line# 393} POP <CC> | |
: {line# 403} PUSH <A> | |
: {line# 418} PUSH <CC> | |
: {line# 429} RCF | |
: {line# 440} RIM | |
: {line# 454} RRC <BITOP> | |
: {line# 464} RSP | |
: {line# 468} SBC <A>, <ASMEMOP> | |
: {line# 484} SLL <BITOP> | |
: {line# 501} SRL <BITOP> | |
: {line# 509} SUB <A>, <ASMEMOP> | |
: {line# 517} SWAP <BITOP> | |
: {line# 554} XOR <A>, <ASMEMOP> | |
: {line# 747} BSET <imm8>, #<bit_position> | |
: {line# 761} BTJT <imm8>, #<bit_position>, <REL> | |
decide on instruction bits: byte-offset=0, bitrange=(0,0), value=0x0, bytes=(0)0010100 | |
decendent constructors for decision node (complete tree dump ordered by line number): | |
: {line# 209} DEC <BITOP> | |
: {line# 220} INC <BITOP> | |
: {line# 338} MUL <X>, <A> | |
: {line# 349} MUL <Y>, <A> | |
: {line# 360} NEG <BITOP> | |
: {line# 454} RRC <BITOP> | |
: {line# 484} SLL <BITOP> | |
: {line# 501} SRL <BITOP> | |
: {line# 517} SWAP <BITOP> | |
: {line# 747} BSET <imm8>, #<bit_position> | |
: {line# 761} BTJT <imm8>, #<bit_position>, <REL> | |
decide on instruction bits: byte-offset=0, bitrange=(4,6), value=0x2, bytes=0001(010)0 | |
decendent constructors for decision node (complete tree dump ordered by line number): | |
: {line# 501} SRL <BITOP> | |
: {line# 747} BSET <imm8>, #<bit_position> | |
: {line# 761} BTJT <imm8>, #<bit_position>, <REL> | |
decide on instruction bits: byte-offset=0, bitrange=(3,3), value=0x1, bytes=000(1)0100 | |
decendent constructors for decision node (complete tree dump ordered by line number): | |
: {line# 501} SRL <BITOP> | |
: {line# 747} BSET <imm8>, #<bit_position> | |
check pattern[1 of 2]: {line# 501} SRL <BITOP> | |
byte pattern: mask=10001111.00000000.00000000.00000000 | |
bytes[0-3]=00010100.00010010.10010010.00010110 | |
match-value=00000100.00000000.00000000.00000000 Matched | |
BITOP: resolving... | |
decide on instruction bits: byte-offset=0, bitrange=(1,3), value=0x1, bytes=0(001)0100 | |
decendent constructors for decision node (complete tree dump ordered by line number): | |
Unable to resolve constructor | |
Prototype parse failed: Unable to resolve constructor at 0462 | |
DebugSleighInstructionParse.java> Finished! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
No idea actually... BITOP is defined as such:
and
SRL
is:So no idea where the MSB comes from. However when forcing $(NO_PRE) on anything that doesn't involve prefixes things seem to work a bit better so I guess I hit up to three bugs at the same time (error in actions, instruction prefixes blocking compilations, and failed backtracking)? :)