update
[rrq/rrqforth.git] / adoc / p_hex.adoc
1 // compile.asm: WORD p_hex,'HEX',fasm
2
3 anchor:p_hex[]
4
5 === Word: HEX
6
7 ....
8 Data stack: ( -- )
9 ....
10
11 "HEX" is a function word that sets <<p_base,BASE>> to 16, which uses
12 letters a-f as additional digits. (Uppercase letter are also accepted
13 on input).
14
15 ====
16 .Definition concept for HEX
17 ****
18 : HEX 16 BASE ! ;
19 ****
20 ====