Added $regs as a variable for displaying all registers.