diff --git a/src/main/fragment/vduz1=vduc1.asm b/src/main/fragment/vduz1=vduc1.asm index a187380fc..7bb2eb6b3 100644 --- a/src/main/fragment/vduz1=vduc1.asm +++ b/src/main/fragment/vduz1=vduc1.asm @@ -2,7 +2,7 @@ lda #<{c1} sta {z1} lda #>{c1} sta {z1}+1 -lda #<{c1}>>16 +lda #<{c1}>>$10 sta {z1}+2 -lda #>{c1}>>16 +lda #>{c1}>>$10 sta {z1}+3 diff --git a/src/main/fragment/vduz1=vduc1_plus_vbuaa.asm b/src/main/fragment/vduz1=vduc1_plus_vbuaa.asm index 5ecf66fb8..23433da93 100644 --- a/src/main/fragment/vduz1=vduc1_plus_vbuaa.asm +++ b/src/main/fragment/vduz1=vduc1_plus_vbuaa.asm @@ -4,9 +4,9 @@ sta {z1} lda #>{c1} adc #0 sta {z1}+1 -lda #<{c1}>>16 +lda #<{c1}>>$10 adc #0 sta {z1}+2 -lda #>{c1}>>16 +lda #>{c1}>>$10 adc #0 sta {z1}+3 diff --git a/src/main/fragment/vduz1_neq_vduc1_then_la1.asm b/src/main/fragment/vduz1_neq_vduc1_then_la1.asm index 073ce31ba..c49fe8986 100644 --- a/src/main/fragment/vduz1_neq_vduc1_then_la1.asm +++ b/src/main/fragment/vduz1_neq_vduc1_then_la1.asm @@ -1,8 +1,8 @@ lda {z1}+3 -cmp #>{c1}>>16 +cmp #>{c1}>>$10 bne {la1} lda {z1}+2 -cmp #<{c1}>>16 +cmp #<{c1}>>$10 bne {la1} lda {z1}+1 cmp #>{c1}