Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

z80asm: implement z180 as a target #49

Closed
aralbrec opened this issue Jan 30, 2017 · 2 comments
Closed

z80asm: implement z180 as a target #49

aralbrec opened this issue Jan 30, 2017 · 2 comments
Assignees

Comments

@aralbrec
Copy link
Member

aralbrec commented Jan 30, 2017

Has the z180 as assemble target been removed?

If so is it possible to add it back? There are only a handful of instructions different from the z80:

New Instructions Operation

  • SLP Enter SLEEP mode
  • MLT 8-bit multiply with 16-bit result
  • INO g, (m) Input contents of immediate I/O address
  • OUT0 (m), g Output register contents to immediate I/O address
  • OTIM Block output - increment
  • OTIMR Block output - increment and repeat
  • OTDM Block output - decrement
  • OTDMR Block output - decrement and repeat
  • TSTIO m Non-destructive AND, I/O port, and accumulator
  • TST g Non-destructive AND, register, and accumulator
  • TST m Non-destructive AND, immediate data, and accumulator
  • TST (HL) Non-destructive AND, memory data, and accumulator

z180 cpu user manual

There is some interest in targeting this chip.

@pauloscustodio
Copy link
Member

As far as I know, there was never a z180 support in z80asm. There is a partial support for the Rabbit (different names for I and R register and CALL flag emulated by JR !flag; CALL).

I can add z180 as a target in the road map.

@pauloscustodio pauloscustodio changed the title z80asm: z180 has been removed? z80asm: implement z180 as a target Jan 30, 2017
@pauloscustodio pauloscustodio self-assigned this Jan 30, 2017
@pauloscustodio
Copy link
Member

Z180 support has been added with the new --cpu=z180 option.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants