From: <kieft_brian@si.com>
To: linux-assembly@vger.kernel.org, binutils@sources.redhat.com
Subject: wrong opcode?
Date: Fri, 14 Jun 2002 13:27:06 -0400 [thread overview]
Message-ID: <004E42C8.C21188@si.com> (raw)
I curious as to why the code generated for these two move.w commands is
completely different. In the first assembly I used two variables (one equal to 0
and the other equal to 8). I tried doing a move using the variables added
together as my offset to register A1 and managed to get 33B9 0000 0000 0170 0000
0008. When I simply put an 8 in instead of the variables, I got the correct
code. 3379 0000 0000 0008. Any ideas??????
I'm using gnu as on a pc-cygwin system with a m68k target.
3901 034a 0000 0008 .DC.L C_WCP1_MSG_PARM
3902 034e 0000 0000 .DC.L HWPN_PARM_OFS
3903 0352 33B9 0000 MOVE.W SYS_SYS_VERS_W,C_WCP_MSG_PARM+HWPN_PARM_OFS(%A1)
3903 0000 0170
3903 0000 0008
3901 034a 0000 0008 .DC.L C_WCP1_MSG_PARM
3902 034e 0000 0000 .DC.L HWPN_PARM_OFS
3904
3905 0352 3379 0000 MOVE.W M_SYS_SYS_VERS_W,8(%A1)
3905 0000 0008
3906
**********************************************************************
This e-mail and any files transmitted with it are confidential and may
be legally privileged or otherwise exempt from disclosure under
applicable law. This e-mail and its files are intended solely for
the individual or entity to whom they are addressed and their content
is the property of Smiths Aerospace. If you are not the intended
recipient, please do not read, copy, use or disclose this communication.
If you have received this e-mail in error please notify the e-mail
administrator at postmaster@si.com and then delete this e-mail, its
files and any copies.
This footnote also confirms that this e-mail message has been scanned
for the presence of known computer viruses.
***********************************************************************
next reply other threads:[~2002-06-14 17:27 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-06-14 17:27 kieft_brian [this message]
2002-06-14 19:06 ` wrong opcode? Peter Barada
2002-06-14 20:18 ` Andreas Schwab
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=004E42C8.C21188@si.com \
--to=kieft_brian@si.com \
--cc=binutils@sources.redhat.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.