× CodeTyphon Cross-Build Development, discussions and problems

Question Does not wince support Embedded assembler?compile

More
6 years 9 months ago #6860 by dorry
Anyone can help me test?compile wince program but the function failure? does not wince support Embedded assembler?

function add(x, y: Integer): Integer;
thanks!
var count: Integer;
begin
asm
MOV EAX, x
MOV ECX, y
ADD EAX, ECX
MOV count, EAX
end;
Result := count;

end;

Please Log in or Create an account to join the conversation.

  • Tony_O_Gallos
  • Tony_O_Gallos's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Ελεύθερο λογισμικό ή θάνατος
More
6 years 9 months ago #6861 by Tony_O_Gallos
Replied by Tony_O_Gallos on topic Does not wince support Embedded assembler?compile
Hi,
you are using i386 instruction set, mostly WinCE support is done for ARM architecture.
Did you check your destination CPU ?

Please Log in or Create an account to join the conversation.