linux-assembly.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Translating nasm boot strap to as
@ 2011-03-19 14:48 Daniel Hilst Selli
  2011-03-19 23:31 ` Brian Raiter
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Daniel Hilst Selli @ 2011-03-19 14:48 UTC (permalink / raw)
  To: linux-assembly

I got some little code in intel syntax(nasm) and want to translate it to 
AT&T syntax to assembly it with as.

The code is a bootstrap and can be found here: http://ideone.com/Qldvx


I got problem to translate 2 things ..
this:

jmp 07C0h:start


I try this

jmp 0x7C0, start

but got "Too memory operands error"
I also try all order combinations plus $ prefix combinations

and to fill the file:

times510-($-$$)  db  0

I didn't find any $$ translation in as


-- 
"Do or do not... there is no try" Yoda Master

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2011-03-21  2:28 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-19 14:48 Translating nasm boot strap to as Daniel Hilst Selli
2011-03-19 23:31 ` Brian Raiter
2011-03-19 23:43 ` Brian Raiter
2011-03-20  0:42 ` Frank Kotler
2011-03-20  1:08   ` Brian Raiter
2011-03-21  2:28     ` Daniel Hilst Selli

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).