projects
/
rrq
/
rrqforth.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
35ef0ff4130a6fccf13ecbfe1096d526933f2e63
[rrq/rrqforth.git]
/
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
.Word: HEX
17
[caption='Definition concept {counter:exec}: ']
18
----
19
: HEX 16 BASE ! ;
20
----
21
====