CensoredUsername / dynasm-rs

A dynasm-like tool for rust.
https://censoredusername.github.io/dynasm-rs/language/index.html
Mozilla Public License 2.0
716 stars 52 forks source link

Support of int 0x80 #99

Closed hallucino closed 3 months ago

hallucino commented 3 months ago

Do you think it could make sense to switch: int imm8

to

int imm16

It will allow to support some case like for i386: int 0x80

CensoredUsername commented 3 months ago

Does that currently not work then? You might need to explicitly state int 0x80u8 as _ because the x86 backend assumes signed immediates.

hallucino commented 3 months ago

ah damned yes sorry ! thx for the reply