mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-06-01 01:02:36 +02:00
Encoding of preindexed LDRH/STRH opcodes was missing.
git-svn-id: branches/laksen/armiw@29254 -
This commit is contained in:
parent
b5cd9c048e
commit
284a4d9dd7
@ -2762,6 +2762,9 @@ implementation
|
||||
bytes:=bytes or (1 shl 23);
|
||||
bytes:=bytes or getsupreg(oper[1]^.ref^.index);
|
||||
end;
|
||||
{ set W bit }
|
||||
if oper[1]^.ref^.addressmode=AM_PREINDEXED then
|
||||
bytes:=bytes or (1 shl 21);
|
||||
{ set P bit if necessary }
|
||||
if oper[1]^.ref^.addressmode<>AM_POSTINDEXED then
|
||||
bytes:=bytes or (1 shl 24);
|
||||
|
Loading…
Reference in New Issue
Block a user