_start: ; 事件の調査を開始 mov eax, victim1 call InvestigateMurder mov eax, victim2 call InvestigateMurder mov eax, victim3 call InvestigateMurder ; 犯人の特定 mov eax, murderer call UnveilMurderer jmp Exit
こっちの方が書きやすい。老害 アガサ・クリスティー「ABC殺人事件」アセンブラ版 ----------------- ; ABC殺人事件のアセンブリ言語化コード ; 以下のコードは架空のものであり、実際のアセンブリ言語の構文ではない。 SECTION .data victim1 db 'アリス・アシャー、アンドーヴァーの店主', 0 victim2 db 'ベティ・バーナード、ビクステッドのウェイトレス', 0 victim3 db 'カーマイケル・クラーク、チャーチストンの弁護士', 0 murderer db '犯人はX', 0 SECTION .text global _start