結果
問題 | No.272 NOT回路 |
ユーザー | %20 |
提出日時 | 2017-04-19 05:02:55 |
言語 | Assembler (nasm 2.16.01) |
結果 |
RE
|
実行時間 | - |
コード長 | 386 bytes |
コンパイル時間 | 177 ms |
コンパイル使用メモリ | 5,296 KB |
実行使用メモリ | 4,384 KB |
最終ジャッジ日時 | 2023-09-26 14:06:53 |
合計ジャッジ時間 | 3,142 ms |
ジャッジサーバーID (参考情報) |
judge14 / judge12 |
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | RE | - |
testcase_01 | RE | - |
testcase_02 | RE | - |
testcase_03 | RE | - |
testcase_04 | RE | - |
testcase_05 | RE | - |
testcase_06 | RE | - |
testcase_07 | RE | - |
testcase_08 | RE | - |
testcase_09 | RE | - |
testcase_10 | RE | - |
testcase_11 | RE | - |
コンパイルメッセージ
ld: warning: cannot find entry symbol _start; defaulting to 0000000000400080
ソースコード
mov ecx, buffer mov edx, 02h call read mov cx, word [buffer] xor cx, 01h mov word [buffer], cx mov ecx, buffer mov edx, 02h call write call exit exit: mov eax, 01h ; exit() xor ebx, ebx ; errno int 80h read: mov eax, 03h ; read() mov ebx, 00h ; stdin int 80h ret write: mov eax, 04h ; write() mov ebx, 01h ; stdout int 80h ret buffer dw 0h