Ticket #9 (closed defect: fixed)
org directive parse errror for /f bin
| Reported by: | tonyb@… | Owned by: | peter@… |
|---|---|---|---|
| Priority: | P2 | Milestone: | 0.5.0 |
| Component: | Preprocessor: 'real' NASM | Version: | 0.2.1 |
| Severity: | normal | Keywords: | |
| Cc: |
Description (last modified by peter@…) (diff)
YASM version 0.2.1
NASM version 0.98.36
Asm code in test is of type:
----------------------------
;comments
;comments
; .....
bits 16
org 0x100
section .text
BEGIN:
mov etc, etc,
.
.
.
--------------------------
The following line works:
nasm /f bin -otest.com dazzler.asm
(produces test.com)
The same invokation in yasm fails:
yasm /f bin -otest.com dazzler.asm
file.asm:17: label or instruction expected at start of line
NOTES:
1) nasm's /f obj or win32
produce the same error as yasm, however /f bin succeeds!
2) remarking the org 0x100 line allows yasm to produce
the correct test.com output.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.
