deal with more similar strings
This commit is contained in:
1 parent
7448909da8
commit
8f9ce4bbba
10 files changed
+35
No files matched your search
@@ -152,6 +152,7 @@ int main(int argc,char **argv)
|
||||
// Similarly for random byte before such instructions
|
||||
if (f1[i+1]==0x85) break;
|
||||
if (f1[i+1]==0xa9) break; // LDA #$xx
|
||||
if (f1[i+1]==0xa5) break; // LDA $xx
|
||||
if (f1[i+1]==0xa0) break; // LDY #$xx
|
||||
if (f1[i+1]==0x69) break; // ADC #$xx
|
||||
if (f1[i+1]==0xc9) break; // CMP #$xx
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
Fragment + STA $028D
|
||||
|
||||
Only one whole instrution here. Not copyrightable.
|
||||
@@ -0,0 +1,3 @@
|
||||
Fragment / STA ($F3),Y
|
||||
|
||||
Only one whole instruction here. Not copyrightable.
|
||||
@@ -0,0 +1,4 @@
|
||||
SEC / SBC #40
|
||||
|
||||
Effectively a single instruction "subtract 40 from A".
|
||||
Not copyrightable.
|
||||
@@ -0,0 +1,3 @@
|
||||
First three letters of BASIC
|
||||
|
||||
Not copyrightable.
|
||||
@@ -0,0 +1,5 @@
|
||||
PHA / LDA $DC01
|
||||
|
||||
Save A before loading a memory address.
|
||||
This is what you do when a CPU doesn't have enough registers to hold
|
||||
everything at once, and is very common on a 6502. Not copyrightable.
|
||||
@@ -0,0 +1,4 @@
|
||||
STA $D7 / TXA / PHA / TYA / PHA
|
||||
|
||||
Save A in a memory location, and push X and Y onto the stack.
|
||||
Nothing creative or copyrightable here.
|
||||
@@ -0,0 +1,5 @@
|
||||
LDA $D3 / SEC / SBC #40
|
||||
|
||||
Load A from a memory location and subtract 40 from it.
|
||||
Nothing creative or copyrightable here. Would be a single
|
||||
instruction on many other CPU architectures.
|
||||
@@ -0,0 +1,4 @@
|
||||
LDA ($F3),Y / STA $0287
|
||||
|
||||
Copy byte from pointer to memory location.
|
||||
Nothing creative or copyrightable here.
|
||||
@@ -0,0 +1,3 @@
|
||||
Fragment / CMP #$0D / BNE past JMP / JMP $nnnn
|
||||
|
||||
Take the jump if A = $0D. Nothing creative or copyrightable here.
|
||||
Reference in new issue
Block a user