LoginSignup
1
0

More than 5 years have passed since last update.

naskのメモ(自分用)

Posted at

自分のためのメモ

naskは、16bitコード前提の機械語命令列を吐き出すようです。(デフォルトだと)

test1.nas
[BITS 16]
[instrset "i486p"]

MOV EBX, 0 
test2.nas
[instrset "i486p"]

MOV EBX, 0

それぞれのアセンブルした結果は、

test1.bin
66 BB 00 00 00 00
test2.bin
66 BB 00 00 00 00

デフォルトだと、
naskは、16bit用のコードを翻訳するみたいです。

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0