10 lines
216 B
Text
10 lines
216 B
Text
|
# Exception handling
|
||
|
# /* $begin prog9-yo */
|
||
|
xorq %rax,%rax
|
||
|
jne target # Not taken
|
||
|
irmovq $1, %rax # Fall through
|
||
|
halt
|
||
|
target:
|
||
|
.byte 0xFF # Invalid instruction code
|
||
|
# /* $end prog9-yo */
|