added rts isntruction

This commit is contained in:
Lauchmelder 2022-08-24 02:27:07 +02:00
parent a2695b5ca1
commit 48b76193d2
2 changed files with 26 additions and 6 deletions

View file

@ -73,6 +73,8 @@ impl CPU
instr_set[0x50] = instr!(bvc, rel, 2, 2);
instr_set[0x60] = instr!(rts, imp, 6, 1);
instr_set[0x70] = instr!(bvs, rel, 2, 2);
instr_set[0x85] = instr!(sta, zpg, 3, 2);