Register | Login
Forum Index > Requests and Feedback > Assembly listing of the block of the program
Author Message
Pages: 1
Emil_halim
Ziron Beta Tester

avatar

(send private message)

Posts: 639
Topics: 104

Location:
Alex, Egypt
[649] Assembly listing of the block of the program - posted: 2011-11-12 17:34:01

as you know i was using sphinx C-- before using Ziron , so some feature of sphinx C-- i want to be available in Ziron too .

if you done mind here is a part of help file that demonstrate my desired feature

Assembly listing of the block of the program.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

For want of task to the compiler of an option allowing generation of
assembly listing of the program the very large file is received sometimes, in
which not simply to discover a fragment, interesting for you, of a code.
With the help of of instructions:

#pragma option lst
...
#pragma option lst-

it is possible to select a fragment of a source code of the program, for
which the compiler will create assembly listing. The number of such blocks
is not limited.


http://www.freewebs.com/ogremagic/index.htm
Admin
Site Admin

avatar

(send private message)

Posts: 933
Topics: 55

Location:
OverHertz Studio
[652] - posted: 2011-11-12 17:53:49
Unlike sphinx c--, ziron is not really a compiler, it is a pure assembler, it does not compile statements into assembly opcodes it writes them directly into machine code.

e.g.

Code:
if (eax == 1) {


this above does not produce

Code:
cmp eax, 1
je ...etc


it directly assembles the code as it is parsed, so this will not be possible...

Download Ziron
Get free hosting for Ziron related fan-sites and Ziron projects, contact me in private message.
Emil_halim
Ziron Beta Tester

avatar

(send private message)

Posts: 639
Topics: 104

Location:
Alex, Egypt
[653] - posted: 2011-11-12 17:55:52
ok i got it

http://www.freewebs.com/ogremagic/index.htm
Pages: 1
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