02:18 guifa joined
Voldenet the writenum is implemented here github.com/MoarVM/MoarVM/blob/597c...rp.c#L5314 02:51
13 is number of bits with byte order 02:52
[Coke] oh. REG_3 is literally called flags.
er.
er, REG 6? 02:53
there's enough macros in there I'm not sure how to map that to the opcode listing. voldenet, if you can parse that, I'd appreciate a patch to nqp's docs/ops*
zzz 02:54
Voldenet I've pasted the link, because I'm not 100% sure what it means – 13 is used everywhere as constant
8 bits + switch endianness
13 -> 1101 -> 11 (8 bytes) + 01 (swap on big-endian hosts) 02:59
byte orders if I get it correctly are `0 = native, 1 = switch on big-endian, 2 = switch on little-endian, 3 = native` 03:00
ah, there's better way of saying 13 03:01
m: nqp::const::BINARY_ENDIAN_LITTLE +| nqp::const::BINARY_SIZE_64_BIT
camelia WARNINGS for <tmp>:
Useless use of "+|" in expression "nqp::const::BINARY_ENDIAN_LITTLE +| nqp::const::BINARY_SIZE_64_BIT" in sink context (line 1)
Voldenet m: use nqp; nqp::const::BINARY_ENDIAN_LITTLE +| nqp::const::BINARY_SIZE_64_BIT
camelia WARNINGS for <tmp>:
Useless use of "+|" in expression "nqp::const::BINARY_ENDIAN_LITTLE +| nqp::const::BINARY_SIZE_64_BIT" in sink context (line 1)
Voldenet m: use nqp; say nqp::const::BINARY_ENDIAN_LITTLE +| nqp::const::BINARY_SIZE_64_BIT
camelia 13