Kernel version 0.8 : Docs...

This commit is contained in:
Rémy GIBERT 2016-10-23 22:50:23 +02:00
parent 2e33ef8861
commit 4a34db55ed

View File

@ -18,6 +18,40 @@
+ Y,A = PStr To Arg[A] + Y,A = PStr To Arg[A]
+ CS : Out Of Bound + CS : Out Of Bound
#PrintFYA :
Prints C-Style String
##In:
+ Y,A = PTR to CStr
+ %a : pull 2 bytes to Print Access right String 'drwxrwxrwx'
+ %b : pull 1 byte to Print BIN
+ %B : pull 2 bytes to Print BIN
+ %d : pull 1 byte unsigned DEC 0..255
+ %D : pull 2 bytes unsigned DEC 0..65535
+ %u : pull 2 bytes PTR to 4 bytes long unsigned DEC 0..4294967295
+ %e : pull 2 bytes PTR to 6 Bytes Real +1.23456789e+12
+ %f : pull 2 bytes PTR to 6 Bytes Real 3.1415
+ %h : pull 1 byte to Print HEX
+ %H : pull 2 bytes to Print HEX
+ %i : pull 1 byte to Print signed DEC -128..127
+ %I : pull 2 bytes to Print signed DEC -32768..32767
+ %L : pull 2 bytes PTR to 4 bytes signed DEC -2147483648..2147483647
+ %n : pull 1 byte to Print low Nibble HEX
+ %N : pull 1 byte to Print high Nibble HEX
+ %s : pull 2 bytes ptr to C-Style String
+ %S : pull 2 bytes ptr to P-Style String
+ \e Print 'ESC' ($1B,27)
+ \n Print CR=13
+ \\ Print \
+ \% Print %
+ Modifiers for len and padding :
+ %d '9' '12'
+ %2d ' 9' '12'
+ %02d '09' '12'
+ %11s 'ABCDEFGH '
+ %011s 'ABCDEFGH000'
+ %2f '3.14'
#FOpen #FOpen
Open a file Open a file