Add doc for that new rax2 thing

This commit is contained in:
pancake 2014-09-22 16:40:08 +02:00
parent a095ad7a42
commit 6d8b9608a7
2 changed files with 10 additions and 0 deletions

View File

@ -53,6 +53,7 @@ static int format_output (char mode, const char *s) {
static int help () {
printf (
" =[base] ; rax2 =10 0x46 -> output in base 10\n"
" int -> hex ; rax2 10\n"
" hex -> int ; rax2 0xa\n"
" -int -> hex ; rax2 -77\n"

View File

@ -35,6 +35,15 @@ Show usage help message
.El
.Sh USAGE
.Pp
Force output mode (numeric base)
.Pp
=f floating point
=2 binary
=3 ternary
=8 octal
=10 decimal
=16 hexadecimal
.Pp
Available variable types are:
.Pp
int \-> hex rax2 10