lli

A small emulated asm like lang
Log | Files | Refs

time.ll (311B)


      1 (unix core) |0x0 @stdin |0x1 @stdout |0x2 @stderr |0x3 @syscall |0x4 @arg1 |0x8 @arg2 |0xc @arg3 |0x10 @arg4 |0x14 @result |0x18 @fd |0x1c @read |0x1d @write
      2 (time core) |0x1e @year |0x20 @month |0x21 @day |0x22 @hour |0x23 @min |0x24 @sec
      3 
      4 |0x1000 @main
      5 &min loadb b2i &arg1 storei
      6 #3 i2b &syscall storeb
      7 halt