Update README.md
This commit is contained in:
14
README.md
14
README.md
@@ -36,13 +36,13 @@ Commands are a single letter followed by an optional space and arguments, with o
|
|||||||
A command can be prefixed with up to 4 hex digits, which will then change the current address.
|
A command can be prefixed with up to 4 hex digits, which will then change the current address.
|
||||||
|
|
||||||
* (no command): dumps 16 bytes at the current address. If no address is given, also increments the current address by 16.
|
* (no command): dumps 16 bytes at the current address. If no address is given, also increments the current address by 16.
|
||||||
* _w [u8]*_: writes bytes in hex to the current address.
|
* `w bytes:[u8]*`: writes bytes in hex to the current address.
|
||||||
* _k src:u16 size:u16_: copy _size_ bytes of memory from _cur-seg_:_src_ to _cur-seg:cur-addr_
|
* `k src:u16 size:u16`: copy _size_ bytes of memory from _cur-seg_:_src_ to _cur-seg:cur-addr_
|
||||||
* _s seg:u16_: changes the current segment
|
* `s seg:u16`: changes the current segment
|
||||||
* _j_: calls a function at the current address. ABI calling conventions below.
|
* `j`: calls a function at the current address. ABI calling conventions below.
|
||||||
* _l file:str_: loads a program with given name into the current segment, address _0x0100_.
|
* `l file:str`: loads a program with given name into the current segment, address _0x0100_.
|
||||||
* _r [u16]*_: runs the program in the current segment with arguments.
|
* `r args:[u16]*`: runs the program in the current segment with arguments.
|
||||||
* _i ax:u16_: call an int 0x80 function with AX register specified. See section above.
|
* `i ax:u16 args:[u16]*`: call an int 0x80 function with given AX and stack args. See section above.
|
||||||
|
|
||||||
The _r_, _j_ and _i_ commands display the value of the AX register after returning to polmon.
|
The _r_, _j_ and _i_ commands display the value of the AX register after returning to polmon.
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user