MASM_16bit
CODE SEGMENT ASSUME cs:CODE,ds:CODE ORG 100H START: mov cx,1 LOOP1: mov ax,cx ;axにカウントを入れる。 cwd mov bx,0FH div bx cmp dx,0 jne FIZZ mov ah,09H ;文字列出力FC mov dx,OFFSET MSG1 ;文字列オフセット設定 int 21H jmp NEXT FIZZ: mov ax,c…
CODE SEGMENT ASSUME cs:CODE,ds:CODE ORG 100H START: mov cx,1 LOOP1: mov ax,cx ;axにカウントを入れる。 cwd mov bx,0FH div bx cmp dx,0 jne FIZZ mov ah,09H ;文字列出力FC mov dx,OFFSET MSG1 ;文字列オフセット設定 int 21H jmp NEXT FIZZ: mov ax,c…