hlorenzi / customasm

💻 An assembler for custom, user-defined instruction sets! https://hlorenzi.github.io/customasm/web/
Apache License 2.0
719 stars 56 forks source link

Partial fix for issue #115: Increment $,pc inside asm{} [commits merged] #119

Closed Emmett81 closed 3 years ago

Emmett81 commented 3 years ago

A simple modification of fn eval_asm where the supplied context is cloned and used instead with it's bit_offset incremented every line when that lines result size is known.