Jump to content

How to move the value of one into R0?


Go to solution Solved by Zahir,

6 posts in this topic

Recommended Posts

Posted (edited)

Would I be right by doing MOV R0, #1 to tell the game, for example, that there is only one enemy left instead of twenty? Or do you do it some other way? Thanks :)

Updated by Guest
Posted

Thanks, I'll test later to see if it worked :)

 

And using that same logic, MOV R0, #2 would move two into R0 and so on? I"m pretty sure the max is 255.

Posted

MOV R0, #1 :3

 

LoL What is that

Thanks, I'll test later to see if it worked :)

 

And using that same logic, MOV R0, #2 would move two into R0 and so on? I"m pretty sure the max is 255.

 

yeah max is 255

 

u can go beyond that but it was different 4byte code

 

I barely used it so forgot

Posted

LoL What is that

 

yeah max is 255

 

u can go beyond that but it was different 4byte code

 

I barely used it so forgot

Thanks :) Again, I'll test later :)

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...

Important Information

We would like to place cookies on your device to help make this website better. The website cannot give you the best user experience without cookies. You can accept or decline our cookies. You may also adjust your cookie settings. Privacy Policy - Guidelines