Skip to content

Asm Examples #848

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

Open
1 of 8 tasks
DavePearce opened this issue Apr 28, 2025 · 0 comments
Open
1 of 8 tasks

Asm Examples #848

DavePearce opened this issue Apr 28, 2025 · 0 comments
Labels
asm enhancement New feature or request

Comments

@DavePearce
Copy link
Collaborator

DavePearce commented Apr 28, 2025

A list of interesting (non-array) examples:

  • Min / Max. Pretty easy. Could do min3 / max3 or something?
  • Greatest Common Divisor. Requires division.
  • Byte / Bit Of. Neat if done recursively.
  • Sum n -> m. Sum integers between n and m. Has implicit assumption that n < m, but this does not need to be enforced.
  • Sign Extend
  • Read/Write u8 from/to u256
  • Bit Reverse
  • Bit Slice / Zero. For example, zero first n bits.
@DavePearce DavePearce added enhancement New feature or request asm labels Apr 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
asm enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant