A lightweight VSCode extension that provides inline help and syntax info for Corewar assembly instructions.
- Hover tooltips with opcode, syntax, and descriptions
- Instruction formatting based on the Corewar specification
- Supports Redcode-style syntax
Hovering over this code:
add r1, r2, r3
Shows:
Opcode: 0x04
Adds r1 and r2, stores the result in r3.
Modifies the carry flag.
Includes tooltips for all Corewar instructions:
live,ld,st,add,suband,or,xor,zjmpldi,sti,fork,lld,lldilfork,aff
Just install the extension, open a .s file, and start writing Corewar code. Hover over any instruction for instant documentation.
Feel free to submit issues or pull requests!