I'm interested in this block of code, from https://github.com/delucas/sudoku-project/blob/master/sudoku-assembler-mips/sudokiller.s#L158
# 3x3-Box check
div $t0, $a1, 3 # $t0 = row / 3
mul $t0, $t0, 27 # Offset of the row ->>> Where does the 27 come from?
div $t1, $a2, 3 # $t1 = col / 3
mul $t1, $t1, 3 # Offset of the column
add $t1, $t0, $t1 # Offset of the first cell in the box
I'm trying to understand what we're doing here, but I'm confused on what the significance of the number 27 is.