Strange plus numbers: Difference between revisions
m
→{{header|x86 Assembly}}
m (→{{header|x86 Assembly}}: shorter (102 bytes) + get rid of most divs) |
|||
Line 610:
A 16-bit solution for NASM under DOS. Assemble with <code>nasm -fbin strange.asm -o strange.com</code>. The prime sieve up to 18 is hard-coded.
<lang> org 100h
mov cx, 10
|