Yasm Assembler mainline development tree (ffmpeg 依赖)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

24 lines
270 B

[SECTION .data]
uhoh db 5
[GLOBAL blah]
blah dw 5
[SECTION .text]
[EXTERN hi]
[EXTERN hi]
[EXTERN bye]
mov eax, hi+2
mov eax, bye
mov eax, [hi]
mov eax, [bye+2]
mov eax, $$
mov eax, $
mov eax, $-$$
;mov eax, uhoh wrt $$
mov eax, hi+bye
mov eax, bye+$
mov eax, hi-$