mirror of
https://github.com/cc65/cc65.git
synced 2026-01-22 17:16:21 +00:00
insipid formatting whack-a-mole
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
|
||||
.zeropage
|
||||
|
||||
c_sp: .res 2 ; Stack pointer
|
||||
c_sp: .res 2 ; Stack pointer
|
||||
sreg: .res 2 ; Secondary register/high 16 bit for longs
|
||||
regsave: .res 4 ; Slot to save/restore (E)AX into
|
||||
ptr1: .res 2
|
||||
|
||||
@@ -468,7 +468,7 @@ unsigned OptPtrStore2 (CodeSeg* S)
|
||||
L[6]->OPC == OP65_LDX &&
|
||||
L[7]->OPC == OP65_LDA &&
|
||||
L[7]->AM == AM65_ZP_INDY &&
|
||||
strcmp (L[7]->Arg, "c_sp") == 0 &&
|
||||
strcmp (L[7]->Arg, "c_sp") == 0 &&
|
||||
L[8]->OPC == OP65_LDY &&
|
||||
(L[8]->AM == AM65_ABS ||
|
||||
L[8]->AM == AM65_ZP ||
|
||||
|
||||
@@ -458,7 +458,7 @@ static unsigned FindIdType (const char* TypeName)
|
||||
{ "segment", SegmentId },
|
||||
{ "source", SourceId },
|
||||
{ "src", SourceId },
|
||||
{ "c_sp", SpanId },
|
||||
{ "c_sp", SpanId },
|
||||
{ "span", SpanId },
|
||||
{ "sym", SymbolId },
|
||||
{ "symbol", SymbolId },
|
||||
|
||||
@@ -41,7 +41,7 @@ int main(void)
|
||||
printf(" data: $%04X (data)\n", &data);
|
||||
printf(" _dos_type: $%04X (bss)\n", &_dos_type);
|
||||
printf(" allocmem: $%04X (dyn. data)\n", allocmem);
|
||||
printf(" c_sp: $%04X (stack ptr)\n", getsp());
|
||||
printf(" c_sp: $%04X (stack ptr)\n", getsp());
|
||||
|
||||
if (allocmem) free(allocmem);
|
||||
if (doesclrscrafterexit()) cgetc();
|
||||
|
||||
Reference in New Issue
Block a user