private String[] getRegisterStrings(Function function, List<Register> setRegisters) {
		Program program = function.getProgram();
		ProgramContext programContext = program.getProgramContext();
		Address address = function.getEntryPoint();
		String[] strings = new String[setRegisters.size()];
		for (int i = 0; i < strings.length; i++) {
			Register register = setRegisters.get(i);
			BigInteger value = programContext.getValue(register, address, false);
			strings[i] = "assume " + register.getName() + " = 0x" + value.toString(16);
		}
		return strings;
	}
Field to show register values at the function entry point.
Ghidra/Features/Base/src/main/java/ghidra/app/util/viewer/field/RegisterFieldFactory.java