Jump to content
IGNORED

Assembler inc instruction a bit confusion.


Recommended Posts

Just checked Wikipedia for RISC. FJC was on the money. Here is a quote from the article:

 

That was what I referenced in post 19.

 

*edit*

FWIW, "RISC" chips now include instruction that take more than a single clock cycle.

They compensate by adding deeper pipelines and out of order execution.

Some of the floating point instructions are a good example.

Edited by JamesD
Link to comment
Share on other sites

  • 3 weeks later...

Yes The x register is easier but its an advanced loop im already using the x and y register and need the accumulator for a third control instance, ok il try to make my loop work now, thank you. :)

You can push and pull values (A/X/Y) to and from the stack (TXA/PHA,PLA/TAX etc) but I found it easier (developing Ramp Rage) to setup variables like counter "CTR" in your example. I didn't use the stack at all in the end. I found it useful to setup several "temp" locations which I used for transient calculations so they could be re-used in different areas to save a few bytes.

:)

Link to comment
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.
Note: Your post will require moderator approval before it will be visible.

Guest
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.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...