diff options
author | H. Peter Anvin <hpa@zytor.com> | 2002-04-30 20:52:08 +0000 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2002-04-30 20:52:08 +0000 |
commit | d7ed89eac9580f280fe0017b22c8e38ca75ed8e3 (patch) | |
tree | 98c4fcdd286b44e14f79aa65271e5caa1c2c7be4 /test/objtest.asm | |
parent | ea8382740dbe5e1607742d0a7c7c139dffcc5ae5 (diff) | |
download | nasm-d7ed89eac9580f280fe0017b22c8e38ca75ed8e3.tar.gz |
NASM 0.94nasm-0.94
Diffstat (limited to 'test/objtest.asm')
-rw-r--r-- | test/objtest.asm | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/test/objtest.asm b/test/objtest.asm index 8530baee..24e9fbd3 100644 --- a/test/objtest.asm +++ b/test/objtest.asm @@ -23,19 +23,19 @@ ; [15] Use SEG on a non-external ; [16] Use SEG on an external -[bits 16] + bits 16 -[global _bsssym] ; [1] -[global _function] ; [1] -[global _selfptr] ; [1] -[global _selfptr2] ; [1] -[common _commvar 2] ; [3] -[extern _printf] ; [6] + global _bsssym ; [1] + global _function ; [1] + global _selfptr ; [1] + global _selfptr2 ; [1] + common _commvar 2 ; [3] + extern _printf ; [6] -[group mygroup mybss mydata] ; [10] -[group mygroup2 mycode mycode2] ; [10] + group mygroup mybss mydata ; [10] + group mygroup2 mycode mycode2 ; [10] -[segment mycode private] + segment mycode private _function push bp mov bp,sp @@ -65,18 +65,18 @@ _function push bp .printf dw _printf, seg _printf ; [2] [4] [16] -[segment mycode2 private] + segment mycode2 private trampoline: pop ax push cs push ax jmp far _printf -[segment mybss private] + segment mybss private _bsssym resw 64 ; [12] -[segment mydata private] + segment mydata private _selfptr dw _selfptr, seg _selfptr ; [8] [15] _selfptr2 dw _selfptr2 wrt mydata, mydata ; [11] [13] |