public:
FpuStackSim(Compilation*>{}/> void pop (); void pop (int rnr); // rnr must be on tos void push(int rnr); void swap(int offset); // exchange tos with tos + offset int offset_from_tos(int rnr) const; // return the offset of the topmost instance of rnr from TOS int get_slot(int tos_offset) const; // return the entry at the given offset from TOS void set_slot(int tos_offset, int rnr); // set the entry at the given offset from TOS void rename(int old_rnr, int new_rnr); // rename all instances of old_rnr to new_rnr bool contains(int rnr); // debugging support only boolis_empty bool slot_is_empty(int tos_offset); int stack_size() const { return _stack_size; } void clear();
intArray* write_state(); void read_state(intArray* fpu_stack_state);
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.