Register | Login
Forum Index > Bugs and Fixes > Wrong opcodes
Author Message
Pages: 1 2 3 4 5 6 7
0CodErr
Ziron Guru
(send private message)

Posts: 199
Topics: 37

Location:
[1568] - posted: 2015-01-31 12:32:52
About post [1542] above.

As for new release it looks like you corrected some errors.
But not all smile
Code:
eax = [sbyte]dl;
eax = [int16]dx;

Result:
Code:
00000000  0FB6C2            movzx eax,dl
00000003  0FB7C2            movzx eax,dx

movZx used instead of movSx

And what about:
Also suggest to add int8 type as signed byte type.
Admin
Site Admin

avatar

(send private message)

Posts: 933
Topics: 55

Location:
OverHertz Studio
[1576] - posted: 2015-01-31 14:55:28
Thanks, I have corrected 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:
[1604] - posted: 2015-02-03 14:45:58
Could you correct what written in [1551]? i.e. incorrect output and about pointer in documentation.
Admin
Site Admin

avatar

(send private message)

Posts: 933
Topics: 55

Location:
OverHertz Studio
[1618] - posted: 2015-02-03 23:22:30
Corrected [1551], it was a small issue with the linker.dll.

I have also corrected the error when data is too large when imm_roll is off.

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:
[1634] - posted: 2015-02-05 21:44:01
Code:
program RAW_IMAGE 'test';

#set bits 32;

procedure p1(){
  eax = label1;
  ebx = 0;
label1:
  ecx = 0;
}
p1();

Code:
00000000  E800000000        call dword 0x5
00000005  55                push ebp
00000006  8BEC              mov ebp,esp
00000008  B80A000000        mov eax,0xa
0000000D  33DB              xor ebx,ebx
0000000F  33C9              xor ecx,ecx
00000011  8BE5              mov esp,ebp
00000013  5D                pop ebp
00000014  C3                ret
0CodErr
Ziron Guru
(send private message)

Posts: 199
Topics: 37

Location:
[1641] - posted: 2015-02-06 21:55:01
Code:
program RAW_IMAGE 'test';

#set bits 32;

mov byte[esp + esp + 0x12345678], 0x12

Compile OK

Result:
Code:
00000000  C6                db 0xc6
00000001  12                db 0x12

Addressing modes for 32-bit address size on 32-bit or 64-bit x86 processors can be summarized by this formula:
Then it should be an error. And it shouldn't compile.
Admin
Site Admin

avatar

(send private message)

Posts: 933
Topics: 55

Location:
OverHertz Studio
[1643] - posted: 2015-02-07 10:17:07
Yes, seems I broke this in a previous version when rewriting the routine, this should not have compiled, I will correct this. Thanks for report.

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
[1649] - posted: 2015-02-07 17:51:37
I have fixed this, the error was occurring but the compiler was not halting. Thanks for report.

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


Quick reply:

Message:



Currently Active Users:
There are currently 13 user(s) online. 0 member(s) and 13 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