
I'm aware of this. Changing register contents seems a useful extension to me, too. That's why I wrote "add such code". I think something like
Print all (or a predefined set of) registers:
< => reg
Print a specific register:
< => reg name
Set a specific register to "value": => reg name value
would be generally useful, not only for parallel I/O registers.
Specifying parallel I/O ports has whole registers is really uncomfortable: If for example one would like to write a value to a parallel I/O port, then he'd need to read the data register first, then mask off all irrelevant bits, and then write the shifted value to this register. The pario command does this job in a much more comfortable way. Again - we can keep this command in our boards' common code, but I think it would be a pity, as I think this functionality can be useful for many other CPU types as well. David.