Skip to content

reidwagner/TSEGB

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TSEGB

Implemented instructions:

NOP           LD A,(BC)     DJNZ          RET
ADD A,r       LD A,(DE)     HALT          JP HL
SUB A,r       LD A,(nn)     EX AF,AF'     LD SP,HL 
ADC A,r       LD HL,(nn)    JR d          DI
AND A,r       LD rp,nn      JR cc[y=4],d  EI
XOR A,r       ADD HL,rp     RLCA          CALL cc[y],nn
OR A,r        JP cc, nn     RRCA          CALL nn
LD r,n        JP nn         RLA           PUSH rp2[p]
LD (HL),n     INC rp        RRA           alu[y] n
LD (BC),A     DEC rp        CPL           RST y*8
LD (DE),A     INC r         SCF           SET y,r[z]
LD (nn),A     DEC r         CCF           RES y,r[z]
LD (nn),HL    LD r,r        RET cc[y]

where r, cc, alu, rp, rp2 are found in disassembly tables.

The zasm assembler can be used to assemble the programs in assembly/src/.

Resources:

About

Sharp LR35902 Emulator

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published