SYSTEM CALLS
M68CPU32BUG/D REV 1
5-6
.CHANGEV
Parse Value, Assign to Variable
.CHANGEV
If the above code was called with a syscall routine and BUFFER contained ’’1 3’’ in pointer/count
format and POINT contained 2 (longwords), then COUNT would be assigned the value 3, and
POINT would contain 4 (pointing to first character past 3). Note that POINT is the offset of the
buffer start address (not the address of the first character in the buffer) to the next character to
process. In this case, a value of 2 in POINT indicates that the space between 1 and 3 is the next
character to be processed. After calling .CHANGEV, the screen displays:
COUNT = 3
If the above code was called again, nothing could be parsed from BUFFER, so a prompt would
be issued. For example, if the string 5 is entered in response to the prompt.
COUNT = 3? 5<CR>
COUNT = 5
If in the previous example nothing had been entered at the prompt, COUNT would retain its prior
value.
COUNT = 3? <CR>
COUNT = 3
Содержание M68CPU32BUG
Страница 16: ...GENERAL INFORMATION M68CPU32BUG D REV 1 1 8 ...
Страница 30: ...DEBUG MONITOR DESCRIPTION M68CPU32BUG D REV 1 2 14 ...
Страница 102: ...DEBUG MONITOR COMMANDS M68CPU32BUG D REV 1 3 72 ...
Страница 168: ...DIAGNOSTIC FIRMWARE GUIDE M68CPU32BUG D REV 1 6 24 ...