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

XAP: add missing opcodes #4661

Open
XVilka opened this issue Oct 3, 2024 · 1 comment
Open

XAP: add missing opcodes #4661

XVilka opened this issue Oct 3, 2024 · 1 comment

Comments

@XVilka
Copy link
Member

XVilka commented Oct 3, 2024

These are taken from the XAP test binary:

  • 0c04
  • 0bfd
  • 0ffe
  • 0ffd
  • 0ffb
  • 0ffa
  • 0ff9
  • 0bf7
  • 0bfb
  • 0bf9
  • 0be0
  • 0bea
  • 0fe0
  • 0900
  • 0bf6
  • 0fea
  • 0bf1
@wargio
Copy link
Member

wargio commented Oct 4, 2024

so i was looking to the specs yesterday and those having the first 4 bits at zero on the second byte are part of the relative jumps see: https://github.com/SamL98/xap2/blob/master/data/languages/xap2.slaspec#L77
also some documents that can be found on the archive.org website describes the opcode and seems that XAP1 to XAP4 are backwards compatible (XAP5 seems more complex with proper registers) and the opcodes are very simple to decode.

@XVilka XVilka added this to the 0.8.0 milestone Oct 6, 2024
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