NASM - The Netwide Assembler
NASM Forum => Programming with NASM => Topic started 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.
-
Seems that just:
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
-
Supposed to be fixed in 2.13... versions.
Best,
Frank