
Debugger Commands
C-4
System Software for M7-300 and M7-400 Installation and Operation
C79000-G7076-C850-02
Expression <expr>
An expression specified by <expr> can consist of: constants, register contents,
memory contents, input ports, and combinations with arithmetic and logical
operators.
<expr> [{-|~}] <term> [[{+|-|^|’|’|&|<<|>>} <term>]...]
<term> <factor>[[{*|/|%}<factor>]...]
<factor> {<ident>|<const>|(<expr>)}
<ident> {<cpureg>|<memory>|<port>}
<cpureg> {CS|DS|ES|SS|FS|GS|EIP|EAX|EBX|ECX|EDX|EDI|ESI|ESP|EBP|
EFL|CR0|IP|AX|BX|CX|DX|DI|SI|BP|FL|AL|AH|BL|BH|CL|CH|DL|
DH|GDTR|LDTR|IDTR|TR|CR0|CR2|CR4
1)
|DR0|DR1|DR2|DR3|D
R6|DR7|TR1
2)
|TR2
2)
|TR3
1)
|TR4
1)
|TR5
1)
|TR6|TR7|TR9
2)
|TR10
2)
|
TR11
2)
|TR12
2)
}
1)
only 486 processor with CPUID and above
2)
only Pentium processor and above
<memory> {BYTE|WORD|DWORD|POI|SPOI}’[’<address>’]’
<port> {INB|INW|IND} ’[’<port_address>’]’
<port_address><expr>
~ NOT
- Negation
+ - * / Basic arithmetic operations
% Remainder after integer division
^ XOR
|OR
& AND
<< Left shift
>> Right shift
Constant (const)
Constants can be entered as hexadecimal, decimal or octal numbers, but also in
ASCII notation. Constants are differentiated by their memory format:
Byte, Word, Dword, Qword
Comentarios a estos manuales