From: Daniel Hilst Selli <danielhilst@gmail.com>
To: linux-assembly@vger.kernel.org
Subject: Translating nasm boot strap to as
Date: Sat, 19 Mar 2011 11:48:26 -0300 [thread overview]
Message-ID: <4D84C23A.2020504@gmail.com> (raw)
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
next reply other threads:[~2011-03-19 14:48 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-19 14:48 Daniel Hilst Selli [this message]
2011-03-19 23:31 ` Translating nasm boot strap to as 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4D84C23A.2020504@gmail.com \
--to=danielhilst@gmail.com \
--cc=linux-assembly@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).