OSDev.org

The Place to Start for Operating System Developers
It is currently Fri Mar 29, 2024 3:12 am

All times are UTC - 6 hours




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: nasm 2.11.06 is broken, false alarm ;)
PostPosted: Sat Nov 22, 2014 3:45 pm 
Offline
Member
Member
User avatar

Joined: Tue Feb 11, 2014 4:59 pm
Posts: 74
I opened new http://bugzilla.nasm.us/show_bug.cgi?id=3392291

Code:
source:
   [BITS 64]
   lodsq

compile:
   -f bin

binary:
   pop   rax
   mov   eax,   dword [0xYYYYYYYY]


version 2.07 compiled from sources is the latest working

PS: broken package in distribution

_________________
https://blackdev.org/ - system programming, my own 64 bit kernel and software.


Last edited by akasei on Sat Nov 22, 2014 4:40 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: nasm 2.11.06 is broken
PostPosted: Sat Nov 22, 2014 4:07 pm 
Offline
Member
Member
User avatar

Joined: Wed Jul 23, 2014 8:00 am
Posts: 96
Location: The Netherlands
How does it generate 'pop rax' in 16 bit mode? I thought it popped out an error.

_________________
My post is up there, not down here.


Top
 Profile  
 
 Post subject: Re: nasm 2.11.06 is broken
PostPosted: Sat Nov 22, 2014 4:08 pm 
Offline
Member
Member
User avatar

Joined: Tue Feb 11, 2014 4:59 pm
Posts: 74
SoLDMG wrote:
How does it generate 'pop rax' in 16 bit mode? I thought it popped out an error.

This is 64 bit mode.
Code:
[BITS 64]

_________________
https://blackdev.org/ - system programming, my own 64 bit kernel and software.


Top
 Profile  
 
 Post subject: Re: nasm 2.11.06 is broken
PostPosted: Sat Nov 22, 2014 4:16 pm 
Offline
Member
Member
User avatar

Joined: Wed Jul 23, 2014 8:00 am
Posts: 96
Location: The Netherlands
Oh... Missed that. I thought it read "[BITS 16]", sorry.

_________________
My post is up there, not down here.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: No registered users and 35 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group