EDMK is an especially-useful instruction.
Its important to pre-load GPR 1 with an address,
as R1 is not guaranteed to be loaded with anything.
On 2025-01-31 08:41, Dan Greiner wrote:
I discovered a glaring error in a PowerPoint tutorial on the use of the
ED and EDMK instructions ... a presentation that I may have posted
years ago. Included therein was a flowchart showing the conceptual
operation of the instructions.
Recently, I coded an emulation of the instructions – following the
guidelines of that flowchart – which failed miserably, alerting me to
the errors in the tutorial. I have corrected the flowchart and slightly
tweaked the presentation, an updated version of which may be found on
my Google drive:
https://docs.google.com/presentation/d/1ZEC6985JIzJZ5oNbinYNDefLzBpzctKD/edit?usp=sharing&ouid=104012833061983447284&rtpof=true&sd=true