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/bintest.asm | |
parent | ea8382740dbe5e1607742d0a7c7c139dffcc5ae5 (diff) | |
download | nasm-d7ed89eac9580f280fe0017b22c8e38ca75ed8e3.tar.gz |
NASM 0.94nasm-0.94
Diffstat (limited to 'test/bintest.asm')
-rw-r--r-- | test/bintest.asm | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/bintest.asm b/test/bintest.asm index 0a3c4ae9..6799b387 100644 --- a/test/bintest.asm +++ b/test/bintest.asm @@ -19,10 +19,10 @@ ; [10] Reference a data-section symbol in the data section ; [11] Reference a BSS-section symbol in the data section -[BITS 16] -[ORG 0x100] + BITS 16 + ORG 0x100 -[SECTION .text] + SECTION .text jmp start ; [6] @@ -44,13 +44,13 @@ start mov byte [bss_sym],',' ; [1] [8] mov bx,[textptr] ; [7] jmp bx -[SECTION .data] + SECTION .data datasym db 'hello world', 13, 10, '$' ; [2] bssptr dw bss_sym ; [2] [11] dataptr dw datasym+5 ; [2] [10] textptr dw end ; [2] [9] -[SECTION .bss] + SECTION .bss bss_sym resb 1 ; [3] |