bit.output¶
outputs the bit ‘x’.
Signature¶
def output x @ label_ptr, base_jump_label, end < stl.IO { ... }
Defined in bit/output.fj — lines 4–14 (view on GitHub).
Complexity¶
Time:
@+2Space:
@+2
See the complexity glossary for what @, w, dw, dbit, n mean.
Source¶
Click to view the macro body
def output x @ label_ptr, base_jump_label, end < stl.IO {
.xor label_ptr, x
label_ptr:
;base_jump_label
pad 2
base_jump_label:
stl.IO+0;end
stl.IO+1;
.not label_ptr
end:
}
Depends on¶
Used by¶
Example uses¶
bit.print_as_digitinbit/output.fj
Next: bit.print/1 →