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

Shortcut for add #15

Open
spixi opened this issue Jun 21, 2019 · 0 comments
Open

Shortcut for add #15

spixi opened this issue Jun 21, 2019 · 0 comments

Comments

@spixi
Copy link

spixi commented Jun 21, 2019

Currently, GBz80 to Items does not support the shortcut for add a, X, where X is a register or an address stored in register hl. This does not affect the case where X is a 8 bit integer constant. The mnemonic sub is not affected.

The following instructions

add a
add b
add c
add d
add h
add l
add [hl]

are equivalent to

add a, a
add a, b
add a, c
add a, d
add a, h
add a, l
add a, [hl]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant