Skip to content
Low-level programming · Higher-level thinking
Login Register
Forum / Bugs and Fixes

$repeat problem

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

0CodErr member
Posts
201
Threads
37
Location
Unknown

$repeat problem

This code

program RAW_IMAGE 'test';

#set bits 32;

const REP_COUNT = 0;

$repeat REP_COUNT: 
  nop; 
$end

produces

00000000  90                nop

while should produce nothing.

Replies

Colin admin
Posts
928
Threads
49
Location
Bulgaria

Thanks, fixed this for next release.

0CodErr member
Posts
201
Threads
37
Location
Unknown

Still not fixed. Tested with 15.02.2015: Ziron Assembler 2.0.0.23

Colin admin
Posts
928
Threads
49
Location
Bulgaria

OK most definitely fixed this time around ;) i've re-uploaded the beta.