mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-20 04:59:26 +02:00
* Intel assembler writer, don't truncate written values to 32 bits, as this code is also used for x86_64. Fixes Mantis #18020.
git-svn-id: trunk@16528 -
This commit is contained in:
parent
5bf51c991c
commit
ae028b1e1d
@ -304,7 +304,7 @@ implementation
|
||||
top_reg :
|
||||
AsmWrite(masm_regname(o.reg));
|
||||
top_const :
|
||||
AsmWrite(tostr(longint(o.val)));
|
||||
AsmWrite(tostr(o.val));
|
||||
top_ref :
|
||||
begin
|
||||
if o.ref^.refaddr=addr_no then
|
||||
@ -384,7 +384,7 @@ implementation
|
||||
top_reg :
|
||||
AsmWrite(masm_regname(o.reg));
|
||||
top_const :
|
||||
AsmWrite(tostr(longint(o.val)));
|
||||
AsmWrite(tostr(o.val));
|
||||
top_ref :
|
||||
{ what about lcall or ljmp ??? }
|
||||
begin
|
||||
|
Loading…
Reference in New Issue
Block a user