Register | Login
Welcome To code:zIRON

Ziron is a mixed high and low level programming language; but unlike other high level compilers, Ziron directly assembles the high level code into machine code. Ziron is intended to allow advanced programmers to write highly optimised code, but also for new and beginners to take a step into the world of assembly programming without the worry of a low level syntax.




(Sample) Building Blocks (structures):


Code:
program WIN32CUI 'test';

#include 'ch.zir';
#include 'fileio.zir';

////////
const strFileName = 'text.txt';
ZFile file;
char buf[512];
/////

inline procedure doFileOperation() {
  file.writeBuffer('Hello, World!\r\n');

  file.setSOF();

  file.readBuffer(@buf, 512);
  file.close();
  print(@buf);
}

if (file.append(strFileName) == True) {
  print('Appending file "', strFileName, '"\r\n');

  doFileOperation();
} else {
  print('Creating file "', strFileName, '"\r\n');

  if (file.create(strFileName) == True) {
    doFileOperation();
  } else {
    print('Unable to create file "', strFileName, '"\r\n');
  }
}

wait_key();
ExitProcess(0);

Latest Topics

Let's talk Ziron 3 and charting a course forward
Admin
News

Ziron 2 Release
Admin
News

Augmented assignment
Admin
Requests and Feedback

Ziron64
Admin
News

build.all examples
Admin
Samples

Merry Christmas!
Admin
General Discussion

const Copyright = '2011-2024 © OverHertz Ltd. All rights reserved.';
Web development by OverHertz Ltd