Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2004-03

byte:=byte+round(single) -> error

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Darek Mazur

Hi
for line:

  tabzas^[pole].gpraca[lip]:=tabzas^[pole].gpraca[lip]
                                            +round(tabpen[i].tabG[1]);

where:
tabzas^[pole].gpraca[lip] --> is BYTE
tabpen[i].tabG[1] --> is SINGLE

I recieve compilation error:
plbazae.pas(2937,69) Error: Asm: [mov reg8,???] invalid combination of
opcode and operands
plbazae.pas(4277,1) Fatal: There were 1 errors compiling module, stopping

for today FPC for WIN32

Darek

Reply by email

Peter Vreman
to Darek Mazur
Show quoted text 15 lines
Hi for line: tabzas^[pole].gpraca[lip]:=tabzas^[pole].gpraca[lip] +round(tabpen[i].tabG[1]); where: tabzas^[pole].gpraca[lip] --> is BYTE tabpen[i].tabG[1] --> is SINGLE I recieve compilation error: plbazae.pas(2937,69) Error: Asm: [mov reg8,???] invalid combination of opcode and operands plbazae.pas(4277,1) Fatal: There were 1 errors compiling module, stopping for today FPC for WIN32

Can you provide code that we can use to reproduce the problem. Without reproduction we can't fix it.

Peter

Reply by email