int getRegisterOffset(Register reg) {
		int offset = reg.getOffset();

		if (reg.getBitLength() == 1 && !reg.isProcessorContext()) {
			offset |= ((reg.getLeastSignificantBit()) << 28);
			offset |= 0x90000000;
		}
		return offset;
	}
Constructs a new ProgramContextDB object
@param dbHandle the handle to the database.
@param errHandler the error handler
@param language the processor language
@param addrMap the address map.
@param lock the program synchronization lock
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/register/OldProgramContextDB.java