- unsigned long long cycle; /* number of cycles this core has executed */
- DCPU16_WORD reg[8]; /* system registers, a b c x y z i j */
- DCPU16_WORD pc; /* program counter */
- DCPU16_WORD sp; /* stack pointer */
- DCPU16_WORD o; /* overflow */
- unsigned int skip_ : 1; /* skip execution of next instruction */
- DCPU16_WORD ram[DCPU16_RAM]; /* memory */
- DCPU16_WORD reg_work_[2]; /* (private) work registers for holding literal values while decoding instructions */
+ unsigned long long cycle; /* number of cycles this core has executed */
+ DCPU16_WORD reg[8]; /* system registers, a b c x y z i j */
+ DCPU16_WORD pc; /* program counter */
+ DCPU16_WORD sp; /* stack pointer */
+ DCPU16_WORD o; /* overflow */
+ unsigned int skip_ : 1; /* skip execution of next instruction */
+ DCPU16_WORD ram[DCPU16_RAM]; /* memory */
+ DCPU16_WORD reg_work_[2]; /* (private) work registers for holding literal values while decoding instructions */
+ struct dcpu16_acct_cb *cb_table_; /* list of callbacks to invoke under certain conditions */
+ size_t cb_table_entries_; /* callback list maintenance */
+ size_t cb_table_allocated_; /* callback list maintenance */