ASSEMBLY PROGRAMMING EXAMPLE
To see a complete video of the machine code described below in action, see >>here<<
Using Norbert’s online 5110 emulator (here), during bootup click CMD and then ATTN. This enters the “DIAG DCP” mode.
Use the “A 0B00” (alter address) to key in the following hex sequence (that sequence representing one of the first “entertainment” software titles for the 5100/5110/5120!).
Once everything is entered correctly, press ATTN to go back to the monitor prompt, and then run the sample using the command “BR 0B00 0CD0” (the second argument, 0CD0, is a stop or HALT address – you can try different addresses for that, but the 0B00 is required since it indicates where the program begins).
This works using the native-opcodes of the PALM processor itself. The result should look something like this (you can press CMD-ATTN again to return back to the DCP monitor, where the machine instructions are still resident in memory):
BELOW: Example of the “D” command to display 32 bytes from the specified address ($0B00).