Register | Login
Forum Index > Requests and Feedback > Augmented assignment
Author Message
Pages: 1 2 3 4
Admin
Site Admin

avatar

(send private message)

Posts: 933
Topics: 55

Location:
OverHertz Studio
[1883] - posted: 2019-07-21 12:08:22
Yes, i understand, but what is the underlying output you want? I just want to be sure I understood you correctly.

Download Ziron
Get free hosting for Ziron related fan-sites and Ziron projects, contact me in private message.
0CodErr
Ziron Guru
(send private message)

Posts: 199
Topics: 37

Location:
[1884] - posted: 2019-07-22 08:42:53
Output should be with Code:
setc 
I think.
Also, it can be useful to translate Code:
ax = CF;
eax = CF;
rax = CF;
with Code:
setc + movzx|movsx

Admin
Site Admin

avatar

(send private message)

Posts: 933
Topics: 55

Location:
OverHertz Studio
[1885] - posted: 2019-08-08 18:55:48
OK, I have added support the following for next release:


Code:
al = CF;
dl = CF;
dl = PF;
dl = ZF;
dl = SF;


including modifiers ~ ! and -

Code:
al = ~CF;
al = -CF;


I have also added movzx and movsx dependant on signed status of register being assigned to.

Code:
eax = CF;


-Colin

Download Ziron
Get free hosting for Ziron related fan-sites and Ziron projects, contact me in private message.
Admin
Site Admin

avatar

(send private message)

Posts: 933
Topics: 55

Location:
OverHertz Studio
[1887] - posted: 2019-08-12 00:05:06
There was a small mistake on current release regarding ! modifier.

Next release, the following applies:

Code:
al = CF;   // setc al
al = !CF;  // setnc al
al = PF;   // setp al
al = !PF;  // setnp al

// etc


Download Ziron
Get free hosting for Ziron related fan-sites and Ziron projects, contact me in private message.
Pages: 1 2 3 4
create new reply


Quick reply:

Message:



Currently Active Users:
There are currently 5 user(s) online. 0 member(s) and 5 guest(s)
Most users ever online was 1046, January 28, 2022, 2:08 pm.


Statistics:
Threads: 225 | Posts: 1848 | Members: 51 | Active Members: 51
Welcome to our newest member, yecate
const Copyright = '2011-2024 © OverHertz Ltd. All rights reserved.';
Web development by OverHertz Ltd