結果

問題 No.272 NOT回路
ユーザー %20%20
提出日時 2017-04-19 05:37:24
言語 Assembler
(nasm 2.16.01)
結果
AC  
実行時間 1 ms / 1,000 ms
コード長 223 bytes
コンパイル時間 55 ms
コンパイル使用メモリ 5,212 KB
実行使用メモリ 4,380 KB
最終ジャッジ日時 2023-09-26 14:15:13
合計ジャッジ時間 801 ms
ジャッジサーバーID
(参考情報)
judge14 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 0 ms
4,380 KB
testcase_01 AC 0 ms
4,380 KB
testcase_02 AC 0 ms
4,380 KB
testcase_03 AC 0 ms
4,380 KB
testcase_04 AC 0 ms
4,376 KB
testcase_05 AC 1 ms
4,380 KB
testcase_06 AC 0 ms
4,380 KB
testcase_07 AC 0 ms
4,376 KB
testcase_08 AC 0 ms
4,376 KB
testcase_09 AC 0 ms
4,380 KB
testcase_10 AC 0 ms
4,380 KB
testcase_11 AC 0 ms
4,376 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
ld: warning: cannot find entry symbol _start; defaulting to 00000000004000b0

ソースコード

diff #

piyo:
	mov ax,3
	mov bx,0
	mov ecx,X
	mov dx,1
	int 80h
	mov ax,[X]
	cmp ax,49
	je .hoge
	mov byte[X],49
	jmp .fuga
.hoge:
	mov byte[X],48
.fuga:
	mov ax,4
	inc bx
	int 80h
	mov ax,1
	dec bx
	int 80h
	section .data
	X db 0
0