New answers tagged

0

I can't find the full memory map, but I've been told that this table can be interpreted similarly. Basically, whatever address is calculated using MSEL will have the value in the "Reset address" field. So, it's not an address to value mapping, but since it's the only variable in the algorithm, it alone determines what address will be jumped to in ...


0

MSEL is 4 pins, as in 4 bits. This means 1111 is not 0x1111, but 0b1111 or 0xf. So your math is correct everywhere but the 0x8888 would be 0x78 instead. auipc t0, 0 <- t0 = pc + 0 => 0x1004 lw t1, -4(t0) <- t1 = -4(0x1004) => 0xf slli t1, t1, 0x3 <- t1 = 0xf << 3 == 0xf * 8 => 0x78 add t0, t0, t1 <- t0 = 0x1004 + ...


Top 50 recent answers are included