\r
.macro SMC_TransferAddressSingle label, address, register\r
.if .paramcount = 2 .or .match ((register), a)\r
- .if (.match (.left (1, {adress}), #))\r
+ .if (.match (.left (1, {address}), #))\r
; immediate mode\r
- lda #<(.right (.tcount ({adress})-1, {adress}))\r
+ lda #<(.right (.tcount ({address})-1, {address}))\r
sta _SMCDesignator+1\r
- lda #>(.right (.tcount ({adress})-1, {adress}))\r
+ lda #>(.right (.tcount ({address})-1, {address}))\r
sta _SMCDesignator+2\r
.else\r
; assume absolute or zero page\r
sta _SMCDesignator+2\r
.endif\r
.elseif .match ((register), x)\r
- .if (.match (.left (1, {adress}), #))\r
+ .if (.match (.left (1, {address}), #))\r
; immediate mode\r
- ldx #<(.right (.tcount ({adress})-1, {adress}))\r
+ ldx #<(.right (.tcount ({address})-1, {address}))\r
stx _SMCDesignator+1\r
- ldx #>(.right (.tcount ({adress})-1, {adress}))\r
+ ldx #>(.right (.tcount ({address})-1, {address}))\r
stx _SMCDesignator+2\r
.else\r
; assume absolute or zero page\r
stx _SMCDesignator+2\r
.endif\r
.elseif .match ((register), y)\r
- .if (.match (.left (1, {adress}), #))\r
+ .if (.match (.left (1, {address}), #))\r
; immediate mode\r
- ldy #<(.right (.tcount ({adress})-1, {adress}))\r
+ ldy #<(.right (.tcount ({address})-1, {address}))\r
sty _SMCDesignator+1\r
- ldy #>(.right (.tcount ({adress})-1, {adress}))\r
+ ldy #>(.right (.tcount ({address})-1, {address}))\r
sty _SMCDesignator+2\r
.else\r
; assume absolute or zero page\r
\r
\r
.macro SMC_TransferAddress label, address\r
-.if (.match (.left (1, {adress}), #))\r
+.if (.match (.left (1, {address}), #))\r
; immediate mode\r
- lda #<(.right (.tcount ({adress})-1, {adress}))\r
+ lda #<(.right (.tcount ({address})-1, {address}))\r
sta _SMCDesignator+1\r
- ldx #>(.right (.tcount ({adress})-1, {adress}))\r
+ ldx #>(.right (.tcount ({address})-1, {address}))\r
stx _SMCDesignator+2\r
.else\r
; assume absolute or zero page\r