NASM - The Netwide Assembler

NASM Forum => Programming with NASM => Topic started by: johntk123 on June 28, 2017, 12:17:45 AM

Title: can't assemble 32 bit nasm code to rdf format using versions above 2.12.02
Post by: johntk123 on June 28, 2017, 12:17:45 AM
I tried a minimal example and I got the same problem.  Here is the .bat and .asm files.  And yes I will be joining the osdev forum.  No one said this was going to be easy but I want to learn something and it will be rewarding in the end.
John.

@echo off
rem nasm .\MYOS\rdftest\rdftest.asm -o .\MYOS\rdftest\rdftest.rdf -f rdf

nasm C:\WebSites\MyWebSite\MYOS\rdftest\rdftest.asm -o C:\WebSites\MyWebSite\MYOS\rdftest\rdftest.rdf -f rdf
echo rdftest.rdf created.
pause


; Filename ".\MYOS\rdftest\rdftest.asm"

use32
segment .data      ; data section.

segment .text      ; code section.

segment .bss      ; bss section.

Title: Re: can't assemble 32 bit nasm code to rdf format using versions above 2.12.02
Post by: Frank Kotler on June 28, 2017, 07:19:28 AM
Seems that just:
Code: [Select]
section .text
is enough to do it. That was easier than starting with what you've got and subtracting code after all. :)

rdf is badly broken. The "panic" in the error message was probably a clue. Use version 2.12.2 or so for the time being. The guys are busy but they'll get to it...

Best,
Frank

Title: Re: can't assemble 32 bit nasm code to rdf format using versions above 2.12.02
Post by: Frank Kotler on September 27, 2017, 10:56:27 PM
Supposed to be fixed in 2.13... versions.

Best,
Frank