2020-02-15 20:01:48 +00:00
|
|
|
/*
|
|
|
|
Press <CTRL-ALT-c> to break.
|
|
|
|
|
|
|
|
Rerun Program
|
|
|
|
|
2020-02-15 22:25:33 +00:00
|
|
|
Press <CTRL-ALT-d> to enter Debug.
|
Rename abs_addres to abs_address.
Update documentation/comments to rename addr, fun, var, stmt, blk, desc, reg, seg, ptr, dup, clus, val, and bttn, to address, function, variable, statement, block, description, register, segment, pointer, duplicate, cluster, value, and button, respectively.
2021-10-07 02:35:32 +01:00
|
|
|
> $LK,"Dr",A="MN:Dr"$; //Dump Registers
|
2020-02-15 20:01:48 +00:00
|
|
|
> $LK,"G2",A="MN:G2"$; //Cont program
|
|
|
|
|
2020-02-15 22:25:33 +00:00
|
|
|
Press <CTRL-ALT-d> to enter Debug.
|
|
|
|
> $LK,"Uf",A="MN:Uf"$("DebugDemo");
|
2020-02-15 20:01:48 +00:00
|
|
|
> $LK,"U",A="MN:U"$(_RIP);
|
|
|
|
|
|
|
|
See $LK,"Debugging",A="HI:Debugging"$
|
|
|
|
*/
|
|
|
|
|
2020-02-15 22:25:33 +00:00
|
|
|
U0 DebugDemo()
|
2020-02-15 20:01:48 +00:00
|
|
|
{
|
2020-12-23 23:27:18 +00:00
|
|
|
I64 i = 0;
|
|
|
|
|
2020-02-20 23:40:10 +00:00
|
|
|
while (TRUE)
|
2020-12-23 23:27:18 +00:00
|
|
|
if (!(i++ % 2000000))
|
2020-02-20 23:40:10 +00:00
|
|
|
".";
|
2020-02-15 20:01:48 +00:00
|
|
|
}
|
|
|
|
|
2020-02-15 22:25:33 +00:00
|
|
|
DebugDemo;
|
2020-02-15 20:01:48 +00:00
|
|
|
|