Your patient is a 76 year old man who fell and hit his head….
Your patient is a 76 year old man who fell and hit his head. He is being admitted to your unit for observation. As the nurse caring for this patient, select the interventions that could be taken to decrease this client’s intracranial pressure (select all that apply):
Read DetailsLC 3200 ISA with an additional LEA & BGT instruction Mne…
LC 3200 ISA with an additional LEA & BGT instruction Mnemonic Example Opcode (Binary) Action Register Transfer Language add add $v0, $a0, $a1 0000 Add contents of reg Y with contents of reg Z, store results in reg X. RTL: $v0 ← $a0 + $a1 nand nand $v0, $a0, $a1 0001 Nand contents of reg Y with contents of reg Z, store results in reg X. RTL: $v0 ← ~($a0 && $a1) addi addi $v0, $a0, 25 0010 Add Immediate value to the contents of reg Y and store the result in reg X. RTL: $v0←$a0+25 lw lw $v0, 0x42($fp) 0011 Load reg X from memory. The memory address is formed by adding OFFSET to the contents of reg Y. RTL: $v0 ← MEM[$fp + 0x42] sw sw $a0, 0x42($fp) 0100 Store reg X into memory. The memory address is formed by adding OFFSET to the contents of reg Y. RTL: MEM[$fp + 0x42] ← $a0 beq beq $a0, $a1, done 0101 Compare the contents of reg X and reg Y. If they are the same, then branch to the address PC+1+OFFSET, where PC is the address of the beq instruction. RTL: if($a0 == $a1) PC ← PC+1+OFFSET jalr jalr $at, $ra 0110 First store PC+1 into reg Y, where PC is the address of the jalr instruction. Then branch to the address now contained in reg X. Note that if reg X is the same as reg Y, the processor will first store PC+1 into that register, then end up branching to PC+1. RTL: $ra ← PC+1; PC ← $at Note that an unconditional jump can be realized using jalr $ra, $t0, and discarding the value stored in $t0 by the instruction. This is why there is no separate jump instruction in LC-2200. halt 0111 Halt the machine bgt bgt $a0, $a1, done 1000 Compare the contents of reg X and reg Y. If the value in reg X is greater than reg Y, then branch to the address PC+1+OFFSET, where PC is the address of the bgt instruction. RTL: if($a0 > $a1) PC ← PC+1+OFFSET lea lea $a0, stack 1001 An address is computed by sign-extending bits [19:0] to 32 bits and adding this result to the incremented PC (address of instruction + 1). It then stores the computed address into register DR. RTL: $a0 = MEM[stack]
Read Details