Skip to content
Low-level programming · Higher-level thinking
Login Register
Forum / Requests and Feedback

Assembly listing of the block of the program

A community discussion post from the original code:zIRON forum.

Emil_halim member
Posts
639
Threads
104
Location
Alex, Egypt

Assembly listing of the block of the program

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

Replies

Colin admin
Posts
928
Threads
49
Location
Bulgaria

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.

if (eax == 1) {

this above does not produce

cmp eax, 1
je ...etc

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

Emil_halim member
Posts
639
Threads
104
Location
Alex, Egypt

ok i got it

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