Author | Message |
0CodErr Ziron Guru (send private message) Posts: 199 Topics: 37 Location: | [1544] signed | unsigned comparison - posted: 2015-01-29 19:12:00 When comparing signed numbers unsigned comparison occures. Below assume that in eax int32 number. Code:
Result: Code:
Also noticed that after unconditional repeat{} need semicolon(otherwise error). Is it should be? I mean is there right behavior or not? Because after conditional repeat{} semicolon does not need. |
Admin Site Admin (send private message) Posts: 933 Topics: 55 Location: OverHertz Studio | [1545] - posted: 2015-01-29 21:56:57 Thanks for report, seems I missed a bit code that passes arguments to internal assembler. This is fixed 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: | [1580] - posted: 2015-02-01 13:22:38 Above i asked you about unconditional repeat{}; Could you answer? |
Admin Site Admin (send private message) Posts: 933 Topics: 55 Location: OverHertz Studio | [1581] - posted: 2015-02-01 18:02:02 Sorry, I missed that one. Yes, unconditional repeat requires ; as I tried to keep the syntax the same as Ziron 1, this lets the assembler know there is no until/while statement, it was intended to help performance (faster peeking). However, in Ziron 2 i have improved the internal parser, so I will add it to my list to make this optional. 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: | [1599] - posted: 2015-02-03 13:38:43 Code:
Result: Code:
|
0CodErr Ziron Guru (send private message) Posts: 199 Topics: 37 Location: | [1601] - posted: 2015-02-03 13:51:15 Also interesting how it should be translated: Code:
|
Admin Site Admin (send private message) Posts: 933 Topics: 55 Location: OverHertz Studio | [1610] - posted: 2015-02-03 18:22:42 Thanks for reporting this. Fixed the cmp al, problem. As for the u/s. The assembler uses the status of the first operand. Code:
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: | [1611] - posted: 2015-02-03 18:46:05 Maybe need some convention when we use '<reg> as <type>' Because, for example: Code:
How will be edx in SomeFunction()? And how after return from SomeFunction()? |
Currently Active Users: There are currently 4 user(s) online. 0 member(s) and 4 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 |