aboutsummaryrefslogtreecommitdiff
path: root/sim/h8300/compile.c
AgeCommit message (Collapse)AuthorFilesLines
1996-07-10 * compile.c (sim_resume): Fix all rotate-by-2-bits insns.Jeff Law1-4/+4
1996-07-05No longer need to sanitize away h8s stuff.Jeff Law1-8/+1
1996-07-03 * run.c (main): Don't "load" sections which don't haveJeff Law1-33/+73
SEC_LOAD set. * compile.c (sim_resume, case "O_NOT"): Use ONOT instead of OSHIFTS. (ONOT): Define. (sim_resume, shift/rotate cases): Add support for shift/rotate by two bits. (OSHIFTS): Corresponding changes. Handling more H8/S ops.
1996-07-02 * compile.c (sim_resume): Handle "ldm.l" and "stm.l".Jeff Law1-2/+47
HMSE H8/S.
1996-05-23 * compile.c (sim_resume): Correctly handle divu.Jeff Law1-22/+45
More bugfixing. HMSE
1996-04-12 * compile.c (sim_load): Re-allocate memory for the simulatorJeff Law1-0/+33
here. HMSE.
1996-04-12 * compile.c (sim_resume): Fix and simplify overflow and carryJeff Law1-13/+2
handling for 32bit ALU insns.
1996-04-09 * compile.c (sim_resume): Fix overflow checks for ALU insns.Jeff Law1-4/+46
So that int-compare.c passes.
1996-04-06 * compile.c (decode): Use "bit" to hold L_3 immediates insteadJeff Law1-4/+21
of holding them in "abs". Handle ABS8MEM memory references aka 8-bit area. Replace ABSMOV references with ABS8MEM. So we've got a chance of simulating something like btst #0,@40:8 correctly. hmse.
1996-03-11 (sim_resume, shift insns): Fix setting of overflow flag for shal.David Edelsohn1-12/+13
1996-03-11 * compile.c: #include "wait.h".David Edelsohn1-1/+5
(sim_resume, sleep insn): Check program exit status in r0.
1996-03-11 * compile.c (sim_resume): Watch for calls to abort.David Edelsohn1-10/+45
* run.c: #include <signal.h>. (main): Abort if program got SIGILL.
1995-06-20 * compile.c (get_now): Don't do if win32.Steve Chamberlain1-59/+88
(sim_resume): Poll in win32 too.
1994-05-14 * compile.c (decode): Fix typo (16 bit branches).David Edelsohn1-482/+551
(*): Some white space clean up.
1993-10-26* Makefile.in (CSEARCH): Add -I$(srcdir)/../../gdbDavid Edelsohn1-23/+33
* compile.c: #include "remote-sim.h". (sim_resume): New arg siggnal. (sim_write): Use SIM_ADDR for type of arg addr. Always return a value. (sim_read): Ditto. (sim_store_register): Result is type int. (sim_fetch_register): Ditto. (sim_stop_reason): Renamed from sim_stop_signal. (sim_set_pc): Use SIM_ADDR for type of arg pc. (sim_info): int result, new arg printf_fn. (sim_kill): int result. (sim_open): int result, new arg name. * run.c (main): Use sim_set_pc to set pc. Update call to sim_info.
1993-10-23(sim_stop_signal): Result is now enum sim_stop.David Edelsohn1-2/+21
1993-10-07 * compile.c (sim_set_pc): Write to the pc direcly.Steve Chamberlain1-59/+82
(sim_store_register): Now value is passed by reference. (sim_read, sim_write): Return number of bytes copied.
1993-07-16Fix bit instructions (was setting destination reg and not carry).David Edelsohn1-10/+10
1993-07-15* compile.c: Reset HMODE back to zero (accidently set it to 1).David Edelsohn1-1/+1
1993-07-15* run.c (main): If h8/300h binary detected, call set_h8300h.David Edelsohn1-4/+4
* compile.c (sim_resume): Fix O_NEG insn.
1993-07-09* run.c (main): Add -h flag to enable h8/300h emulation.David Edelsohn1-19/+50
* compile.c: Rename Hmode to HMODE (consistency with gdb). (set_h8300h): New function. (sim_resume): Add support for extu,exts insns. (sim_resume): Fix logical right shifting. (sim_resume, label alu32): Fix setting of carry flag.
1993-07-04(sim_csize): Initialize cpu.cache.David Edelsohn1-0/+1637