mirror of
https://github.com/fadden/6502bench.git
synced 2026-04-22 01:16:42 +00:00
Change some EQU handling
Changed the sort order on EQU lines so that constants come before address definitions. This caused trivial changes to three of the regression tests. Added the ability to jump directly to an EQU line when an opcode is double-clicked on.
This commit is contained in:
@@ -5,11 +5,11 @@
|
||||
.cdef $20,$7e,$20
|
||||
zip = $cd
|
||||
absl = $1029
|
||||
plataddr = $3000 ;address only in platform file
|
||||
projalsa = $3200 ;same val as projalso
|
||||
absh = $feed
|
||||
biggie = $123456
|
||||
thirty2 = $12345678 ;32-bit constant test
|
||||
plataddr = $3000 ;address only in platform file
|
||||
projalsa = $3200 ;same val as projalso
|
||||
|
||||
* = $012345
|
||||
.as
|
||||
|
||||
@@ -2,11 +2,11 @@
|
||||
;a duplicate label.
|
||||
zip equ $cd
|
||||
absl equ $1029
|
||||
plataddr equ $3000 ;address only in platform file
|
||||
projalsa equ $3200 ;same val as projalso
|
||||
absh equ $feed
|
||||
biggie equ $123456
|
||||
thirty2 equ $12345678 ;32-bit constant test
|
||||
plataddr equ $3000 ;address only in platform file
|
||||
projalsa equ $3200 ;same val as projalso
|
||||
|
||||
org $012345
|
||||
start clc
|
||||
|
||||
@@ -3,11 +3,11 @@
|
||||
.setcpu "65816"
|
||||
zip = $cd
|
||||
absl = $1029
|
||||
plataddr = $3000 ;address only in platform file
|
||||
projalsa = $3200 ;same val as projalso
|
||||
absh = $feed
|
||||
biggie = $123456
|
||||
thirty2 = $12345678 ;32-bit constant test
|
||||
plataddr = $3000 ;address only in platform file
|
||||
projalsa = $3200 ;same val as projalso
|
||||
|
||||
; .segment "SEG000"
|
||||
.org $012345
|
||||
|
||||
@@ -2,9 +2,9 @@
|
||||
.cpu "65816"
|
||||
.enc sg_ascii
|
||||
.cdef $20,$7e,$20
|
||||
CONST_ZERO = $f0 ;project const
|
||||
PROJ_ZERO = $00 ;project addr
|
||||
PROJ_ONE = $01 ;project addr
|
||||
CONST_ZERO = $f0 ;project const
|
||||
|
||||
* = $1000
|
||||
.as
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
;Edited to have duplicate labels (PROJ_ZERO, DPCODE).
|
||||
CONST_ZERO equ $f0 ;project const
|
||||
PROJ_ZERO equ $00 ;project addr
|
||||
PROJ_ONE equ $01 ;project addr
|
||||
CONST_ZERO equ $f0 ;project const
|
||||
|
||||
org $1000
|
||||
ldy PROJ_ZERO
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
;Edited to have duplicate labels (PROJ_ZERO, DPCODE).
|
||||
!cpu 65816
|
||||
CONST_ZERO = $f0 ;project const
|
||||
PROJ_ZERO = $00 ;project addr
|
||||
PROJ_ONE = $01 ;project addr
|
||||
CONST_ZERO = $f0 ;project const
|
||||
|
||||
* = $1000
|
||||
!as
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
;Edited to have duplicate labels (PROJ_ZERO, DPCODE).
|
||||
.setcpu "65816"
|
||||
CONST_ZERO = $f0 ;project const
|
||||
PROJ_ZERO = $00 ;project addr
|
||||
PROJ_ONE = $01 ;project addr
|
||||
CONST_ZERO = $f0 ;project const
|
||||
|
||||
; .segment "SEG000"
|
||||
.org $1000
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
.cpu "6502"
|
||||
FatConst = $4000
|
||||
OverVar = $40
|
||||
CodeWrap = $0f00 ;encases program
|
||||
SameName1 = $2000
|
||||
@@ -17,7 +18,6 @@ Over2a = $3006 ;$3006
|
||||
Over3 = $3006 ;$3006-300c
|
||||
SepOver1 = $3100 ;$3100-3103, inclusive
|
||||
SepOver2 = $3102 ;$3102-3105, inclusive
|
||||
FatConst = $4000
|
||||
BankWrap = $fff0
|
||||
|
||||
* = $1000
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
FatConst equ $4000
|
||||
OverVar equ $40
|
||||
CodeWrap equ $0f00 ;encases program
|
||||
SameName1 equ $2000
|
||||
@@ -16,7 +17,6 @@ Over2a equ $3006 ;$3006
|
||||
Over3 equ $3006 ;$3006-300c
|
||||
SepOver1 equ $3100 ;$3100-3103, inclusive
|
||||
SepOver2 equ $3102 ;$3102-3105, inclusive
|
||||
FatConst equ $4000
|
||||
BankWrap equ $fff0
|
||||
|
||||
org $1000
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
!cpu 6502
|
||||
FatConst = $4000
|
||||
OverVar = $40
|
||||
CodeWrap = $0f00 ;encases program
|
||||
SameName1 = $2000
|
||||
@@ -17,7 +18,6 @@ Over2a = $3006 ;$3006
|
||||
Over3 = $3006 ;$3006-300c
|
||||
SepOver1 = $3100 ;$3100-3103, inclusive
|
||||
SepOver2 = $3102 ;$3102-3105, inclusive
|
||||
FatConst = $4000
|
||||
BankWrap = $fff0
|
||||
|
||||
* = $1000
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
.setcpu "6502"
|
||||
FatConst = $4000
|
||||
OverVar = $40
|
||||
CodeWrap = $0f00 ;encases program
|
||||
SameName1 = $2000
|
||||
@@ -17,7 +18,6 @@ Over2a = $3006 ;$3006
|
||||
Over3 = $3006 ;$3006-300c
|
||||
SepOver1 = $3100 ;$3100-3103, inclusive
|
||||
SepOver2 = $3102 ;$3102-3105, inclusive
|
||||
FatConst = $4000
|
||||
BankWrap = $fff0
|
||||
|
||||
; .segment "SEG000"
|
||||
|
||||
Reference in New Issue
Block a user