Collatz Problem by %20

   
 
 \x09
\x09\x09\x09\x09\x09
  
 
 \x09
 \x09   \x09 \x09 
\x09
   
   \x09\x09 
\x09 \x09\x09
\x09\x09 
   \x09 
\x09 \x09 
 


   
   \x09\x09
\x09  
   \x09
\x09    
    \x09  
 
\x09\x09  \x09
\x09\x09

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

Disassemble:

push +0(0b)
dup
geti
retr
mark null
dup
puti
push +10(4b)
putc
dup
push -2(2b)
mod
jneg +0(0b)
push +2(2b)
div
jump null
mark +0(0b)
push +3(2b)
mul
push +1(1b)
add
dup
push +4(3b)
swap
sub
jneg null

download

return to the top page