Assembly:

LHUXS rd, rs(rt)

nanoMIPS

Load Half Unsigned indeXed Scaled

Purpose:

Load Half Unsigned indeXed Scaled. Load unsigned halfword to register $rd from memoryaddress $rt + 2*$rs (register plus scaled register).

Availability:

nanoMIPS

Format:

001000

rt

rs

rd

0110

1

000

111

6

5

5

5

4

1

3

3

Operation:

va = effective_address(GPR[rs]<<1, GPR[rt], 'Load')
GPR[rd] = read_memory_at_va(va, nbytes=2)

Exceptions:

Address Error. Bus Error. TLB Invalid. TLB Read Inhibit. TLB Refill. Watch.