diff options
author | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2001-07-22 13:47:50 +0000 |
---|---|---|
committer | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2001-07-22 13:47:50 +0000 |
commit | 61cacfea7ab9f6478888bb896b270c5ca759c88b (patch) | |
tree | a5e22e6e86b95563340860828410d71ff0cc4c97 /mixlib | |
parent | 1746ded326076dcd36fc1324624310265ee1e833 (diff) | |
download | mdk-61cacfea7ab9f6478888bb896b270c5ca759c88b.tar.gz mdk-61cacfea7ab9f6478888bb896b270c5ca759c88b.tar.bz2 |
release 0.4
Diffstat (limited to 'mixlib')
-rw-r--r-- | mixlib/mix_vm_command.c | 2 | ||||
-rw-r--r-- | mixlib/xmix_vm.h | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/mixlib/mix_vm_command.c b/mixlib/mix_vm_command.c index 0a3091a..264c9ff 100644 --- a/mixlib/mix_vm_command.c +++ b/mixlib/mix_vm_command.c @@ -1537,7 +1537,7 @@ get_reg_pred_ (const gchar *arg) if ( strlen (arg) == 2 ) { int i = arg[1] - '1'; - if ( i > 0 && i < 7 ) + if (i >= 0 && i < 6) pred = MIX_PRED_REG_I1 - 1 + i; } } diff --git a/mixlib/xmix_vm.h b/mixlib/xmix_vm.h index 4ed1e42..e0f26ae 100644 --- a/mixlib/xmix_vm.h +++ b/mixlib/xmix_vm.h @@ -52,6 +52,7 @@ struct mix_vm_t mix_src_file_t *src_file; /* source of last loaded code file */ mix_device_factory_t factory; /* the factory for new devices */ mix_predicate_list_t *pred_list; /* predicates for conditional bps */ + GSList *address_list; /* list of executed addresses */ }; /* Macros for accessing/modifying the above structure. @@ -75,6 +76,7 @@ enum { A_ = 0, X_, J_, I1_, I2_, I3_, I4_, I5_, I6_ }; #define get_loc_(vm) (vm->loc_count) #define get_clock_(vm) (vm->clock) #define get_pred_list_(vm) (vm->pred_list) +#define get_address_list_(vm) (vm->address_list) #define set_reg_(vm,r,x) \ do { \ |