repo.or.cz
/
geany-mirror.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
plugins: change return codes of geany_load_module() and GeanyPluginFuncs::init
[geany-mirror.git]
/
tests
/
ctags
/
masm.asm
blob
76fbc4ff5c568f9138d3e200186c4319fed38161
1
.MODEL medium
2
.DATA
3
Msg
DB
"Text string"
4
.CODE
5
QUACK
PROC PUBLIC
6
enter
0
,
0
; May be an instruction or a macro
7
mov
bx
,
OFFSET
DGROUP:
Msg
8
mov
bx
, [
bp
+
6
]
9
mov
WORD PTR
[
bx
],
ax
10
leave
11
ret
2
12
QUACK
ENDP
13
END
14
15
myequ
EQU
3
16
myequal
=
4
17
18
; http://www.xploiter.com/mirrors/asm/asm_1.htm
19
hllequal
:=
4
20
21
BYTE_BUFFER
LABEL
BYTE
22
WORD_BUFFER
DW
512
dup
(?)
23
24
mov
bx
,
ax
25
LabelMaker1:
26
xor
ax
,
ax
27
LabelMaker2:
28
29
mymacro
macro
args
30
endm
31
32
mystruct
struct
33
ends