No description
Find a file
2022-10-18 01:41:38 +02:00
catnip fix movsxd 2022-10-18 01:41:38 +02:00
tests fix movsxd 2022-10-18 01:41:38 +02:00
.gitignore initial commit 2021-05-04 15:29:16 +02:00
catnip.nimble bump version 2022-04-04 18:11:59 +02:00
disassemble.nims initial commit 2021-05-04 15:29:16 +02:00
LICENSE initial commit 2021-05-04 15:29:16 +02:00
readme.md fix readme 2021-11-04 18:54:40 +01:00

Catnip

A nondescriptively named runtime assembler e.g. for JIT recompilers.

Why not improve the assembler in laser(now found here)?

I thought about doing this, but decided against it, mainly because registers are defined as compile time static parameters for some reasons? In any way it makes dynamic register allocation impossible (which is irreplacable for any decent JIT recompiler I can think of).

Though I can't deny that the declarative macro for defining the encodings wasn't inspired by it :D.

Planned things

  • Better tests
  • Support more x64
  • Support assembling aarch64