Jump to content

Recommended Posts

Posted

Can someone please help me figure out what this assembly program does?

 

.ORIG x3100

ADD R0, R3, #0

JSR MyR

ADD R4, R1, R0

HALT

MyR NOT R0, R0

ADD R0, R0, #1

RET

.END

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 have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.