Register | Login
Forum Index > Bugs and Fixes > signed | unsigned comparison
Author Message
Pages: 1 2 3 4
Admin
Site Admin

avatar

(send private message)

Posts: 933
Topics: 55

Location:
OverHertz Studio
[1743] - posted: 2015-02-19 22:52:08
Fixed this for next release.

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:
[1846] - posted: 2016-05-03 10:32:23
Code:
program RAW_IMAGE 'test';
#set bits 32;


function test1(dword x) {
  [sysint]return al;
}

function test2(dword x) {
  return [sysint]al;
}

test1(0);
test2(0);
Produces Code:
00000000  6A00              push byte +0x0
00000002  E807000000        call dword 0xe
00000007  6A00              push byte +0x0
00000009  E80C000000        call dword 0x1a
0000000E  55                push ebp
0000000F  8BEC              mov ebp,esp
00000011  0FB6C0            movzx eax,al
00000014  8BE5              mov esp,ebp
00000016  5D                pop ebp
00000017  C20400            ret 0x4
0000001A  55                push ebp
0000001B  8BEC              mov ebp,esp
0000001D  0FB6C0            movzx eax,al
00000020  8BE5              mov esp,ebp
00000022  5D                pop ebp
00000023  C20400            ret 0x4
there is Code:
movzx eax,al
instead of Code:
movsx eax,al
Admin
Site Admin

avatar

(send private message)

Posts: 933
Topics: 55

Location:
OverHertz Studio
[1860] - posted: 2016-12-10 21:26:24
This is corrected in next release, the second function is the correct syntax.

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 2 user(s) online. 0 member(s) and 2 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