flat assembler
Message board for the users of flat assembler.

Index > Compiler Internals > setc eax bug

Author
Thread Post new topic Reply to topic
Gray



Joined: 26 Oct 2004
Posts: 1
Gray 26 Oct 2004, 10:15
flat assembler 1.56 compile error instructions
setc eax
setc ax
to setc al without Error message.

flat assembler 1.56 compile error instructions
setc esi
setc si
to setc dh without Error message.

And so on...
Post 26 Oct 2004, 10:15
View user's profile Send private message Reply with quote
Tomasz Grysztar



Joined: 16 Jun 2003
Posts: 8356
Location: Kraków, Poland
Tomasz Grysztar 29 Oct 2004, 13:28
Fixed.
Post 29 Oct 2004, 13:28
View user's profile Send private message Visit poster's website Reply with quote
Nikolay Petrov



Joined: 22 Apr 2004
Posts: 101
Location: Bulgaria
Nikolay Petrov 01 Nov 2004, 18:59
I'm surpised Confused

From Intel Opcodes and Mnemonics:
SETC - Set if Carry (386+)
Usage: SETC dest
Modifies flags: none
Sets the byte in the operand to 1 if the Carry Flag is set,
otherwise sets the operand to 0.
Clocks Size
Operands 808x 286 386 486 Bytes
reg8 - - 4 3 3

mem8 - - 5 4 3

0F 92 SETC r/m8 Set if carry (CF=1)

Is it possible to write - setc eax ; eax is not r/m8 Question
Post 01 Nov 2004, 18:59
View user's profile Send private message Reply with quote
comrade



Joined: 16 Jun 2003
Posts: 1150
Location: Russian Federation
comrade 01 Nov 2004, 20:14
It is not possible, but before the bug was fixed, it was possible.
Post 01 Nov 2004, 20:14
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number Reply with quote
Nikolay Petrov



Joined: 22 Apr 2004
Posts: 101
Location: Bulgaria
Nikolay Petrov 02 Nov 2004, 06:26
it's a good news
Post 02 Nov 2004, 06:26
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.