Sha256: ad1d05cc5862cf7a0063d7f6f01f98c3e43f700b6c67fd3a84a5e94b4d8727de

Contents?: true

Size: 291 Bytes

Versions: 23

Compression:

Stored size: 291 Bytes

Contents

;redcode
;name div
;strategy   division demo -- compute 20 / 9

x       DAT #20
y       DAT #9
count   DAT #0              ; result goes here
div     SUB y, x 
        SLT #0, x
        DAT #0              ; stop here when division done
        ADD #1, count
        JMP div
        end div

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
rubylabs-1.0.2 data/mars/test_div.txt
rubylabs-1.0.1 data/mars/test_div.txt
rubylabs-1.0.0 data/mars/test_div.txt
rubylabs-0.9.8 data/mars/test_div.txt
rubylabs-0.9.7 data/mars/test_div.txt
rubylabs-0.9.6 data/mars/test_div.txt
rubylabs-0.9.5 data/mars/test_div.txt
rubylabs-0.9.4 data/mars/test_div.txt
rubylabs-0.9.3 data/mars/test_div.txt
rubylabs-0.9.2 data/mars/test_div.txt
rubylabs-0.9.1 data/mars/test_div.txt
rubylabs-0.9.0 data/mars/test_div.txt
rubylabs-0.8.3 data/mars/test_div.txt
rubylabs-0.8.2 data/mars/test_div.txt
rubylabs-0.8.1 data/mars/test_div.txt
rubylabs-0.8.0 data/mars/test_div.txt
rubylabs-0.7.5 data/mars/test_div.txt
rubylabs-0.7.4 data/mars/test_div.txt
rubylabs-0.7.3 data/mars/test_div.txt
rubylabs-0.7.2 data/mars/test_div.txt