View Issue Details

IDProjectCategoryView StatusLast Update
0018467FPCCompilerpublic2011-01-11 18:52
Reporterbolek Assigned ToFlorian  
PrioritynormalSeveritymajorReproducibilityhave not tried
Status resolvedResolutionno change required 
OSWindows 
Product Version2.5.1 
Summary0018467: Assemply DIV error
DescriptionAsm instruction error

DIV EAX, ECX

project1.lpr(24,11) Error: Asm: [div reg32,reg32] invalid combination of opcode and operands.

TagsNo tags attached.
Fixed in Revision
FPCOldBugId
FPCTarget
Attached Files

Activities

Florian

2011-01-11 18:52

administrator   ~0045106

div does not support two operands, the dividend must be always in (E)AX.

Jonas Maebe

2011-01-11 18:52

manager   ~0045107

Kylix compiles it though, so at most it's a missing feature.

Issue History

Date Modified Username Field Change
2011-01-11 18:37 bolek New Issue
2011-01-11 18:52 Florian Status new => resolved
2011-01-11 18:52 Florian Resolution open => no change required
2011-01-11 18:52 Florian Assigned To => Florian
2011-01-11 18:52 Florian Note Added: 0045106
2011-01-11 18:52 Jonas Maebe Note Added: 0045107