Jump to content

Breakpoint in CLA code - Is it possible?

Recommended Posts

Yes, it is. You will have to insert the MDEBUGSTOP instruction. See FAQ here.


First add the MDEBUGSTOP instruction into the code where you would like to halt. Then rebuild and load the code. Remember that the MDEBUGSTOP instruction must not be within 3 instructions (before or after) a branch (MBCNDD), call (MCCNDD) or return (MRCNDD) instruction. When the CLA halts the MDEBUGSTOP instruction will be in the D2 (decode 2) phase of the pipeline. From there you can single step the CLA or run to the next breakpoint or MSTOP.
Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...