Translate ARC Code into Object Code
Not what you're looking for? Search our solutions OR ask your own Custom question.
I need to translate the following ARC code into object code. Assume that x is at location (4096)10
K .equ 1024
.
.
.
addcc %r4 + k, %r4
ld %r14, %r5
addcc %r14, -1, %r14
st %r5, [x]
.
.
.
https://brainmass.com/computer-science/memory-management/translate-arc-code-into-object-code-20372
Solution Preview
I have translated the code just in front of the op-codes.
<br>
<br>1.K .equ 1024 ----------- K = 1024 (A simple assign statement)
<br>.
<br>.
<br>.
<br>2.addcc %r4 + k, %r4
<br> ---- add content of ...
Solution Summary
Translate ARC code into object code.
$2.49