主なターゲット -16bit .com形式(tiny model) -PC-9801 MS-DOS 5.0 参考 -[[MASM32 SDK>http://www.masm32.com/]] -[[Microsoft Macro Assembler のメモ>http://shaw.la.coocan.jp/masm/]] -[[MS-DOS MASM プログラミング入門>http://uno036.starfree.jp/PRGmanual/masm1b/]] |[[masm32>ASM/masm32]]|MASM32でCOMファイルを作る| *DOS dev.batの例 @echo off path %path%;C:\masm32\bin cmd |[[janken>MASM32/janken]]|じゃんけん| |[[hello>MASM32/hello]]|hello, world| |[[puts>MASM32/puts]]|文字列表示| |[[itoa>MASM32/itoa]]|byte/wordを16進文字列にする| |[[regdmp>MASM32/regdmp]]|レジスタの内容を表示| |[[helloipl>MASM32/helloipl]]|IPLでhello, world| |[[iplregdmp>MASM32/iplregdmp]]|IPLでレジスタの内容を表示| |[[rclock>MASM32/rclock]]|カレンダ時計のBIOS| |[[nobreak>MASM32/nobreak]]|CTRL-Cのトラップ| |[[input>MASM32/input]]|バッファド・キーボード入力| |[[fgets>MASM32/fgets]]|文字列読み込み| |[[decimal>MASM32/decimal]]|16進入力、10進表示| |[[countup>MASM32/countup]]|カウント10進表示| |[[fps>MASM32/fps]]|fps表示| |[[swatch>MASM32/swatch]]|インターバルタイマ割り込み| |[[playssg>MASM32/playssg]]|SSG演奏| |[[vsync>MASM32/vsync]]|VSYNC割り込み| |[[vsync2>MASM32/vsync2]]|VSYNC割り込み2| |[[spigot>MASM32/spigot]]|円周率100桁| |[[beep>MASM32/beep]]|BEEP演奏| *DOS/V |[[dosv1>MASM32/dosv1]]|320x200 256色モード パレット| |[[mandel>MASM32/mandel]]|マンデルブロ集合| *Win16 |[[msgbox16>MASM32/msgbox16]]|Win16サンプル| |[[msgbox2>MASM32/msgbox2]]|wsprintfサンプル| *Win32 dev.batの例 @echo off path %path%;C:\masm32\bin set INCLUDE=C:\masm32\include set LIB=C:\masm32\lib cmd |[[HelloWin>MASM32/HelloWin]]|MessageBox| |[[WinApp>MASM32/WinApp]]|ウィンドウアプリ| |[[WinApp2>MASM32/WinApp2]]|ウィンドウアプリ2| |[[hello32c>MASM32/hello32c]]|コンソール出力| |[[wsprintf>MASM32/wsprintf]]|書式出力| |[[xorshift>MASM32/xorshift]]|疑似乱数| |[[fpusin>MASM32/fpusin]]|FPUサンプル| |[[wave>MASM32/wave]]|wave再生| |[[coin>MASM32/coin]]|wave再生2|