sim-rl78.h 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. /* sim-rx.h --- interface between rl78 simulator and GDB.
  2. Copyright (C) 2011-2015 Free Software Foundation, Inc.
  3. Contributed by Red Hat.
  4. This file is part of GDB.
  5. This program is free software; you can redistribute it and/or modify
  6. it under the terms of the GNU General Public License as published by
  7. the Free Software Foundation; either version 3 of the License, or
  8. (at your option) any later version.
  9. This program is distributed in the hope that it will be useful,
  10. but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. GNU General Public License for more details.
  13. You should have received a copy of the GNU General Public License
  14. along with this program. If not, see <http://www.gnu.org/licenses/>. */
  15. #if !defined (SIM_RL78_H)
  16. #define SIM_RL78_H
  17. enum sim_rl78_regnum
  18. {
  19. sim_rl78_bank0_r0_regnum,
  20. sim_rl78_bank0_r1_regnum,
  21. sim_rl78_bank0_r2_regnum,
  22. sim_rl78_bank0_r3_regnum,
  23. sim_rl78_bank0_r4_regnum,
  24. sim_rl78_bank0_r5_regnum,
  25. sim_rl78_bank0_r6_regnum,
  26. sim_rl78_bank0_r7_regnum,
  27. sim_rl78_bank1_r0_regnum,
  28. sim_rl78_bank1_r1_regnum,
  29. sim_rl78_bank1_r2_regnum,
  30. sim_rl78_bank1_r3_regnum,
  31. sim_rl78_bank1_r4_regnum,
  32. sim_rl78_bank1_r5_regnum,
  33. sim_rl78_bank1_r6_regnum,
  34. sim_rl78_bank1_r7_regnum,
  35. sim_rl78_bank2_r0_regnum,
  36. sim_rl78_bank2_r1_regnum,
  37. sim_rl78_bank2_r2_regnum,
  38. sim_rl78_bank2_r3_regnum,
  39. sim_rl78_bank2_r4_regnum,
  40. sim_rl78_bank2_r5_regnum,
  41. sim_rl78_bank2_r6_regnum,
  42. sim_rl78_bank2_r7_regnum,
  43. sim_rl78_bank3_r0_regnum,
  44. sim_rl78_bank3_r1_regnum,
  45. sim_rl78_bank3_r2_regnum,
  46. sim_rl78_bank3_r3_regnum,
  47. sim_rl78_bank3_r4_regnum,
  48. sim_rl78_bank3_r5_regnum,
  49. sim_rl78_bank3_r6_regnum,
  50. sim_rl78_bank3_r7_regnum,
  51. sim_rl78_psw_regnum,
  52. sim_rl78_es_regnum,
  53. sim_rl78_cs_regnum,
  54. sim_rl78_pc_regnum,
  55. sim_rl78_spl_regnum,
  56. sim_rl78_sph_regnum,
  57. sim_rl78_pmc_regnum,
  58. sim_rl78_mem_regnum,
  59. sim_rl78_num_regs
  60. };
  61. #endif /* SIM_RL78_H */