@Override
	public RegisterValue getRegisterValue(Register register, Address address) {
		Register baseReg = register.getBaseRegister();
		int size = baseReg.getMinimumByteSize();
		int offset = getRegisterOffset(register);
		byte[] bytes = new byte[2 * size];
		for (int i = 0; i < size; i++) {
			int index = register.isBigEndian() ? i : (size - i - 1);
			bytes[i] = 0x00;
			try {
				bytes[size + index] = getByte(offset + i, address);
				bytes[index] = (byte) 0xff;
			}
			catch (UndefinedValueException e) {
				// ignore byte
			}
		}
		return new RegisterValue(register, bytes);
	}
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