a. Register rl holds a C variable x of unsigned int type. Translate the following C statement to a single assembly instr
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
a. Register rl holds a C variable x of unsigned int type. Translate the following C statement to a single assembly instr
statement to a single assembly instruction, but do NOT use any multiply instruction. Hint: You may need to use a special subtraction instruction. X = X 15; b. Register r0, rl hold C variables x, y of int type. Translate the following C statement to assembly. This is not a function. You may use any free registers. Note: In C, int means signed int. x = (x+y) / (x - y); I
a. Register rl holds a C variable x of unsigned int type. Translate the following C