bit.input_bit¶
input one bit into the bit-variable, ‘dst’.
dst is an output parameter.
Signature¶
def input_bit dst < stl.IO { ... }
Defined in bit/input.fj — lines 9–12 (view on GitHub).
Complexity¶
Time:
2@-2Space:
2@-2
See the complexity glossary for what @, w, dw, dbit, n mean.
Source¶
Click to view the macro body
def input_bit dst < stl.IO {
.zero dst
.xor dst, stl.IO
}
Depends on¶
Next: bit.input/1 →