f78 Debugging on targets for Hitachi h 8/300 Contents|Index|Previous|Next
 

Debugging on targets for Hitachi H8/300, H8S and H8/300H  

gdb needs to know the following specifications to talk to a Hitachi target. gdb also supports set remotedebug n. You can see some debugging information about communications with the board by setting the variable, remotedebug.

In comparison to the H8/300, the H8S has the following improvements.

Addressing Mode  Symbol
1 Register direct  Rn
2 Register indirect @ERn 
3 Register indirect with displacement  @(d:16,ERn)  
@(d:32,ERn) 
4 Register indirect with post-increment 
Register indirect with pre-decrement 
@ERn+  
@¯ERn
5 Absolute address  @aa:8 
@aa:16  
@aa:24  
@aa:32 
6 Immediate #xx:8 
#xx:16 
#xx:32
7 Program-counter relative @(d:8,PC) 
@(d:16,PC) 
8 Memory indirect  @@aa:8 
  0