@Override
	default int getBytes(TracePlatform platform, long snap, Register register, ByteBuffer buf) {
		AddressRange range = platform.getConventionalRegisterRange(getSpace(), register);
		int byteLength = (int) range.getLength();
		int limit = buf.limit();
		buf.limit(Math.min(limit, buf.position() + byteLength));
		int result = getBytes(snap, range.getMinAddress(), buf);
		buf.limit(limit);
		return result;
	}
For register mapping conventions

@return the address space
Ghidra/Debug/Framework-TraceModeling/src/main/java/ghidra/trace/database/memory/InternalTraceMemoryOperations.java