1
0
mirror of https://gitlab.com/camelot/kickc.git synced 2024-12-26 03:32:23 +00:00

Renamed dword fragments from vl... to vd...

This commit is contained in:
jespergravgaard 2018-01-28 23:09:47 +01:00
parent 546644b7d3
commit 341d8c5556
4 changed files with 8 additions and 8 deletions

View File

@ -279,9 +279,9 @@ public class AsmFragmentInstanceSpec {
} else if(SymbolType.isSWord(type)) {
return "vws";
} else if(SymbolType.isDWord(type)) {
return "vlu";
return "vdu";
} else if(SymbolType.isSDWord(type)) {
return "vls";
return "vds";
} else if(SymbolType.STRING.equals(type)) {
return "pbu";
} else if(type instanceof SymbolTypePointer) {

View File

@ -293,7 +293,7 @@ main: {
jmp b1
//SEG14 main::@1
b1:
//SEG15 [6] (dword) main::b#0 ← (const dword) main::a#0 + (byte) main::i#2 [ main::i#2 main::b#0 ] ( main:2 [ main::i#2 main::b#0 ] ) -- vluz1=vluc1_plus_vbuz2
//SEG15 [6] (dword) main::b#0 ← (const dword) main::a#0 + (byte) main::i#2 [ main::i#2 main::b#0 ] ( main:2 [ main::i#2 main::b#0 ] ) -- vduz1=vduc1_plus_vbuz2
lda i
clc
adc #<a
@ -307,7 +307,7 @@ main: {
lda #>a>>$10
adc #0
sta b+3
//SEG16 [7] (byte) main::c#0 ← ((byte)) (dword) main::b#0 [ main::i#2 main::c#0 ] ( main:2 [ main::i#2 main::c#0 ] ) -- vbuz1=_byte_vluz2
//SEG16 [7] (byte) main::c#0 ← ((byte)) (dword) main::b#0 [ main::i#2 main::c#0 ] ( main:2 [ main::i#2 main::c#0 ] ) -- vbuz1=_byte_vduz2
lda b
sta c
//SEG17 [8] *((const byte*) main::SCREEN#0 + (byte) main::i#2) ← (byte) main::c#0 [ main::i#2 ] ( main:2 [ main::i#2 ] ) -- pbuc1_derefidx_vbuz1=vbuz2
@ -383,7 +383,7 @@ main: {
jmp b1
//SEG14 main::@1
b1:
//SEG15 [6] (dword) main::b#0 ← (const dword) main::a#0 + (byte) main::i#2 [ main::i#2 main::b#0 ] ( main:2 [ main::i#2 main::b#0 ] ) -- vluz1=vluc1_plus_vbuxx
//SEG15 [6] (dword) main::b#0 ← (const dword) main::a#0 + (byte) main::i#2 [ main::i#2 main::b#0 ] ( main:2 [ main::i#2 main::b#0 ] ) -- vduz1=vduc1_plus_vbuxx
txa
clc
adc #<a
@ -397,7 +397,7 @@ main: {
lda #>a>>$10
adc #0
sta b+3
//SEG16 [7] (byte) main::c#0 ← ((byte)) (dword) main::b#0 [ main::i#2 main::c#0 ] ( main:2 [ main::i#2 main::c#0 ] ) -- vbuaa=_byte_vluz1
//SEG16 [7] (byte) main::c#0 ← ((byte)) (dword) main::b#0 [ main::i#2 main::c#0 ] ( main:2 [ main::i#2 main::c#0 ] ) -- vbuaa=_byte_vduz1
lda b
//SEG17 [8] *((const byte*) main::SCREEN#0 + (byte) main::i#2) ← (byte) main::c#0 [ main::i#2 ] ( main:2 [ main::i#2 ] ) -- pbuc1_derefidx_vbuxx=vbuaa
sta SCREEN,x
@ -486,7 +486,7 @@ main: {
//SEG13 [5] phi (byte) main::i#2 = (byte) main::i#1 [phi:main::@1->main::@1#0] -- register_copy
//SEG14 main::@1
b1:
//SEG15 [6] (dword) main::b#0 ← (const dword) main::a#0 + (byte) main::i#2 [ main::i#2 main::b#0 ] ( main:2 [ main::i#2 main::b#0 ] ) -- vluz1=vluc1_plus_vbuxx
//SEG15 [6] (dword) main::b#0 ← (const dword) main::a#0 + (byte) main::i#2 [ main::i#2 main::b#0 ] ( main:2 [ main::i#2 main::b#0 ] ) -- vduz1=vduc1_plus_vbuxx
txa
clc
adc #<a
@ -500,7 +500,7 @@ main: {
lda #>a>>$10
adc #0
sta b+3
//SEG16 [7] (byte) main::c#0 ← ((byte)) (dword) main::b#0 [ main::i#2 main::c#0 ] ( main:2 [ main::i#2 main::c#0 ] ) -- vbuaa=_byte_vluz1
//SEG16 [7] (byte) main::c#0 ← ((byte)) (dword) main::b#0 [ main::i#2 main::c#0 ] ( main:2 [ main::i#2 main::c#0 ] ) -- vbuaa=_byte_vduz1
lda b
//SEG17 [8] *((const byte*) main::SCREEN#0 + (byte) main::i#2) ← (byte) main::c#0 [ main::i#2 ] ( main:2 [ main::i#2 ] ) -- pbuc1_derefidx_vbuxx=vbuaa
sta SCREEN,x