diff --git a/strings/60A90085 b/strings/60A90085 new file mode 100644 index 00000000..ae39f5d1 --- /dev/null +++ b/strings/60A90085 @@ -0,0 +1,6 @@ +End of routine followed by $00 -> ZP location + +$60 = RTS = return from subroutine. Very common. +LDA #$00 / STA $xx is also very common. +It is no suprise to find these together many times in code. +Not copyrightable. diff --git a/strings/8D00DC b/strings/8D00DC new file mode 100644 index 00000000..967249ef --- /dev/null +++ b/strings/8D00DC @@ -0,0 +1,3 @@ +STA $DC00 instruction + +Single instruction. Not copyrightable. diff --git a/strings/8D00DD b/strings/8D00DD new file mode 100644 index 00000000..9586af62 --- /dev/null +++ b/strings/8D00DD @@ -0,0 +1,3 @@ +STA $DD00 instruction + +Single instructions are not copyrightable. diff --git a/strings/8D04DC b/strings/8D04DC new file mode 100644 index 00000000..44b8cea1 --- /dev/null +++ b/strings/8D04DC @@ -0,0 +1,3 @@ +STA $DC04 instruction. + +Single instruction. Not copyrightable. diff --git a/strings/8D04DCA9 b/strings/8D04DCA9 new file mode 100644 index 00000000..37883f85 --- /dev/null +++ b/strings/8D04DCA9 @@ -0,0 +1,4 @@ +STA $DC04 / LDA #$xx sequence + +This is a single instruction with the opcode of a very common +instruction (LDA #$xx) following. Not copyrightable. diff --git a/strings/8D05DC b/strings/8D05DC new file mode 100644 index 00000000..ea68707a --- /dev/null +++ b/strings/8D05DC @@ -0,0 +1,3 @@ +STA $DC05 instruction + +Single instruction. Not copyrightable. diff --git a/strings/8D0EDC b/strings/8D0EDC new file mode 100644 index 00000000..115c68cf --- /dev/null +++ b/strings/8D0EDC @@ -0,0 +1,3 @@ +STA $DC0E instructioon + +Single instruction. Not copyrightable. diff --git a/strings/8D11D0 b/strings/8D11D0 new file mode 100644 index 00000000..b5e82139 --- /dev/null +++ b/strings/8D11D0 @@ -0,0 +1,3 @@ +STA $D011 + +Single instructions are not copyrightable diff --git a/strings/990200 b/strings/990200 new file mode 100644 index 00000000..ec3c5f81 --- /dev/null +++ b/strings/990200 @@ -0,0 +1,3 @@ +STA $0200,Y instruction + +Single instruction. Not copyrightable. diff --git a/strings/A90085 b/strings/A90085 new file mode 100644 index 00000000..e53381a5 --- /dev/null +++ b/strings/A90085 @@ -0,0 +1,6 @@ +Store $00 to a ZP location + +LDA #$00 +STA $xx + +Obvious way to do this, so not copyrightable. diff --git a/strings/A9008D b/strings/A9008D new file mode 100644 index 00000000..34ce21b1 --- /dev/null +++ b/strings/A9008D @@ -0,0 +1,6 @@ +Store $00 somewhere + +LDA #$00 +STA $xxxx + +This is an obvious way to put $00 into a memory location diff --git a/strings/A90185 b/strings/A90185 new file mode 100644 index 00000000..c9d14504 --- /dev/null +++ b/strings/A90185 @@ -0,0 +1,6 @@ +Store $01 to a ZP location + +LDA #$01 +STA $xx + +Obvious way to do this, so not copyrightable. diff --git a/strings/A90385 b/strings/A90385 new file mode 100644 index 00000000..7a6c15a2 --- /dev/null +++ b/strings/A90385 @@ -0,0 +1,6 @@ +Put $03 into ZP location + +LDA #$03 +STA $xx + +This is the obvious way to put $03 into a ZP memory location. diff --git a/strings/A9088D b/strings/A9088D new file mode 100644 index 00000000..277813f8 --- /dev/null +++ b/strings/A9088D @@ -0,0 +1,7 @@ +Store $08 somewhere + +LDA #$08 +STA $xxxx + +is the obvious way to put $08 into a memory location. +Not copyrightable. diff --git a/strings/A92F8500 b/strings/A92F8500 new file mode 100644 index 00000000..58ae93b4 --- /dev/null +++ b/strings/A92F8500 @@ -0,0 +1,7 @@ +$2F -> CPU data direction port + +LDA #$2F +STA $00 + +This is the obvious way to put the recommended default value +into the 6510's data direction register. Not copyrightable. diff --git a/strings/A93F8D b/strings/A93F8D new file mode 100644 index 00000000..6152961c --- /dev/null +++ b/strings/A93F8D @@ -0,0 +1,6 @@ +Store $3F somewhere + +LDA #$3F +STA $xxxx + +Obvious way to achieve this, so not copyrightable. diff --git a/strings/A97F8D0D b/strings/A97F8D0D new file mode 100644 index 00000000..dbf9328f --- /dev/null +++ b/strings/A97F8D0D @@ -0,0 +1,7 @@ +Put $7F -> $xx0D + +LDA #$7f +STA $xx0d + +This is the obvious way to put $7F into a memory location ending in $0D. +Not copyrightable. diff --git a/strings/AD00DD b/strings/AD00DD new file mode 100644 index 00000000..60813326 --- /dev/null +++ b/strings/AD00DD @@ -0,0 +1,3 @@ +LDA $DD00 instruction + +Single instructions are not copyrightable diff --git a/strings/AD0DDC b/strings/AD0DDC new file mode 100644 index 00000000..4345c419 --- /dev/null +++ b/strings/AD0DDC @@ -0,0 +1,3 @@ +LDA $DC0D instruction + +Single instructions are not copyrightable. diff --git a/strings/C900D0 b/strings/C900D0 new file mode 100644 index 00000000..0f8b2c24 --- /dev/null +++ b/strings/C900D0 @@ -0,0 +1,7 @@ +Compare A with zero before branching + +CMP #$00 +Bxx $nnnn + +This is a common way to take a branch based on whether the A register +holds zero or not. diff --git a/strings/C903F0 b/strings/C903F0 new file mode 100644 index 00000000..ffb8b0c5 --- /dev/null +++ b/strings/C903F0 @@ -0,0 +1,8 @@ +Take branch based on whether A = $03 + +CMP #$03 +Bxx $nnnn + +Common instruction sequence and obvious way to +take a branch based on whether A = $03. +Not copyrightable. diff --git a/strings/D0034C b/strings/D0034C new file mode 100644 index 00000000..f19ba345 --- /dev/null +++ b/strings/D0034C @@ -0,0 +1,8 @@ +Branch over JMP + +Bxx + +JMP $xxxx +* + +Very common sequence to conditionally jump somewhere. +Not coppyrightable. diff --git a/strings/D0F560 b/strings/D0F560 new file mode 100644 index 00000000..8717f28b --- /dev/null +++ b/strings/D0F560 @@ -0,0 +1,7 @@ +Branch backwards or return + +Bxx *-10 +RTS + +This is the obvious way to either branch backwards or return from a routine. +i.e. it is a typical loop construct. Not copyrightable. diff --git a/strings/F004A9 b/strings/F004A9 new file mode 100644 index 00000000..d7e843f7 --- /dev/null +++ b/strings/F004A9 @@ -0,0 +1,15 @@ +Branch over two instructions, first being LDA #$xx + +This corresponds to the following sequence: + +Bxx + +LDA #$xx +(two more bytes not matched +* + +This is the obvious way to conditionally execute two instructions, +the first of which is LDA #$xx, which is very common. + +That the argument of LDA #$xx doesn't match, nor does the following +two bytes, adds strength to the argument that this is a non-copyrightable +sequence of bytes.