MCQ IN COMPUTER SCIENCE & ENGINEERING

COMPUTER SCIENCE AND ENGINEERING

COMPUTER ARCHITECTURE

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Find out the register number for $t8-$t9
A
24-25
B
22-23
C
4-6
D
29
Explanation: 

Detailed explanation-1: -The register that is used for linkage is register $31, which is called $ra by the extended assembler. It holds the return address for a subroutine. The instruction that puts the return address into $ra is (usually) the jal instruction.

Detailed explanation-2: -$v0 contains number of characters read (0 if end-of-file, negative if error). See note below table. write to file. 15. $a0 = file descriptor.

Detailed explanation-3: -The $at (Assembler Temporary) register is used for temporary values within pseudo commands. It is not preserved across function calls. For example, with the (slt $at, $a0, $s2) command, $at is set to one if $a0 is less than $s2, otherwise it is set to zero.

There is 1 question to complete.