Skip to content
This repository was archived by the owner on Mar 27, 2024. It is now read-only.
This repository was archived by the owner on Mar 27, 2024. It is now read-only.

Immediate Loads are treated as Offsets rather than values #10

Description

@oziphantom
                             LAB_80805b+1                                    XREF[0,2]:   80805b(R), 80805b(R)  
                             LAB_80805b+2
          80805b a2 00 00        LDX        #$0x0=>LAB_80805b+1
          80805e 22 42 a7 80     JSL        !>$DAT_80a742                                    = 00A900h
          808062 22 a9 e8 80     JSL        !>$DAT_80e8a9                                    = 30C28Bh
          808066 22 5b ff 90     JSL        !>$PTR_DAT_90ff5b                                = ad20e2
          80806a 22 34 84 80     JSL        !>$PTR_LAB_808434                                = 849e22
                             LAB_80806e+1                                    XREF[0,2]:   80806e(R), 80806e(R)  
                             LAB_80806e+2
          80806e a2 cd 9b        LDX        #$0x9bcd=>LAB_80806e+1
          808071 22 34 e9 80     JSL        !>$DAT_80e934                                    = 00A000h
          808075 78              SEI
          808076 d8              CLD
          808077 c2 30           REP        #$0x30
          808079 22 2d 8f 80     JSL        !>$DAT_808f2d                                    = 586464h
                             LAB_80807d+1                                    XREF[0,2]:   80807d(R), 80807d(R)  
                             LAB_80807d+2
          80807d a2 ff 1f        LDX        #$0x1fff=>LAB_80807d+1
          808080 9a              TXS
                             LAB_808081+1                                    XREF[0,2]:   808081(R), 808081(R)  
                             LAB_808081+2
          808081 a9 00 00        LDA        #$0x0=>LAB_808081+1

rather than saying LDA #0000 it adds LAB_808081+1 and LAB_808081+2 and then references it self. It seems to think its like an ARM processor. Is there some setting or register I need to confiq in order to get these "to just be values"?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions