OLD | NEW |
1 /* IQ2000 simulator support code | 1 /* IQ2000 simulator support code |
2 Copyright (C) 2000, 2004, 2007-2012 Free Software Foundation, Inc. | 2 Copyright (C) 2000-2013 Free Software Foundation, Inc. |
3 Contributed by Cygnus Support. | 3 Contributed by Cygnus Support. |
4 | 4 |
5 This file is part of the GNU simulators. | 5 This file is part of the GNU simulators. |
6 | 6 |
7 This program is free software; you can redistribute it and/or modify | 7 This program is free software; you can redistribute it and/or modify |
8 it under the terms of the GNU General Public License as published by | 8 it under the terms of the GNU General Public License as published by |
9 the Free Software Foundation; either version 3 of the License, or | 9 the Free Software Foundation; either version 3 of the License, or |
10 (at your option) any later version. | 10 (at your option) any later version. |
11 | 11 |
12 This program is distributed in the hope that it will be useful, | 12 This program is distributed in the hope that it will be useful, |
(...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
257 } | 257 } |
258 else if (nr == PC_REGNUM | 258 else if (nr == PC_REGNUM |
259 && len == 4) | 259 && len == 4) |
260 { | 260 { |
261 set_h_pc (cpu, T2H_4 (*((unsigned32*)buf))); | 261 set_h_pc (cpu, T2H_4 (*((unsigned32*)buf))); |
262 return 4; | 262 return 4; |
263 } | 263 } |
264 else | 264 else |
265 return 0; | 265 return 0; |
266 } | 266 } |
OLD | NEW |