source: Deliverables/D4.1/ASMInterpret.ml

Revision Log Mode:


Legend:

Added
Modified
Copied or renamed
Diff Rev Age Author Log Message
(edit) @219   9 years mulligan Additional features of timer 2 auto reload implemented.
(edit) @218   9 years mulligan Timer 2 16 bit auto reload implemented.
(edit) @217   9 years mulligan Back to the drawing board with interrupts ... giving up and …
(edit) @216   9 years mulligan Interrupts are harder than they look.
(edit) @215   9 years mulligan More on implementation of interrupts. Need to add a queue for …
(edit) @214   9 years mulligan Started implementation of interrupts.
(edit) @213   9 years mulligan implementing interrupts
(edit) @212   9 years mulligan Refactored main emulator loop to improve clarity. Debugging serial …
(edit) @209   9 years mulligan Compiled again.
(edit) @206   9 years mulligan Fixed serial output.
(edit) @205   9 years mulligan Reworked handling of serial port input, and implemented remaining …
(edit) @203   9 years mulligan Serial input test: seems to work correctly (small bug corrected where …
(edit) @202   9 years mulligan Remaining two timer modes implemented.
(edit) @201   9 years mulligan Implemented output onto P1 and P3 lines, implemented a few of the …
(edit) @200   9 years mulligan New features: 1) conditional jumps to labels implemented [Note: …
(edit) @199   9 years mulligan Fixes to debug code to make serial output more clear. CJNE/JNZ is not …
(edit) @198   9 years mulligan Added more info to status printout. Found weird bug in emulator: cjne …
(edit) @196   9 years mulligan Improvements to processor status output. Now includes readout of main …
(edit) @195   9 years mulligan Added printout of processor status when we enter the infinite SJMP …
(edit) @194   9 years mulligan Oops: small change caused compile to fail. Works again, now.
(edit) @193   9 years mulligan Fixed type errors relating to serial output. The serial port code …
(edit) @191   9 years mulligan Changed way we handle I/O due to assert false bug on first serial I/O …
(edit) @168   9 years mulligan Implemented latch access.
(edit) @166   9 years mulligan I/O support added for serial buffer.
(edit) @163   9 years mulligan Fixed bug with JNB not jumping correctly.
(edit) @162   9 years mulligan Timers implemented (including demonic thirteen bit timer).
(edit) @161   9 years mulligan Type errors fixed. Add16 with carry implemented.
(edit) @159   9 years mulligan Code for timers now in place. Needs further implementation.
(edit) @158   9 years mulligan Lots of bugs fixed. SFR access implemented.
(edit) @151   9 years mulligan Implementing SFR access. Type error.
(edit) @150   9 years mulligan Manages to load and emulate a simple array program. A few obscure bugs.
(edit) @148   9 years mulligan Bug fixed: storage destination for all logical operations was …
(edit) @147   9 years mulligan Changes made today: we now have an emulator that is able to emulate …
(edit) @145   9 years mulligan Bug in LCALL fixed.
(edit) @144   9 years sacerdot The sp can also point to upper internal ram. Fixed everywhere.
(edit) @143   9 years sacerdot More SFRs (8052 ones were missing). SFR catalogation (is that fully …
(edit) @142   9 years sacerdot Rough implementation of direct (i.e. no BIT) SFR access. Note: I/O is …
(edit) @138   9 years sacerdot Several bug fixes and code clean-up. New main file: test.ml to parse …
(edit) @130   9 years mulligan Commit again? Not sure what happened. All Parser files were already …
(edit) @129   9 years sacerdot Better I/O modelling (still initial ideas).
(edit) @123   9 years mulligan IntelHex? file modified: string_of_intel_hex_entry implemented.
(edit) @121   9 years mulligan Fixed obscure type error in pretty.
(edit) @120   9 years mulligan Fixed weird type errors in ASMInterpret.
(edit) @119   9 years mulligan Refactoring of ASMInterpret complete.
(edit) @118   9 years mulligan LCALL reimplemented.
(edit) @117   9 years mulligan Sorted out inconsistent ocaml state (???). Refactored ACALL.
(edit) @116   9 years mulligan RETs done.
(edit) @115   9 years mulligan Various jumps refactored.
(edit) @114   9 years mulligan Noticed redundancy in ANL and ORL instructions, removed. Introduced …
(edit) @113   9 years mulligan JC and JNC refactored.
(edit) @112   9 years mulligan PUSH, POP, XCH and XCHD refactored and tidied.
(edit) @111   9 years mulligan MOVC instructions refactored.
(edit) @110   9 years mulligan MOV instructions refactored.
(edit) @109   9 years mulligan Rotation and SWAP instructions refactored.
(edit) @108   9 years mulligan CPL instructions refactored.
(edit) @107   9 years mulligan CLR instruction refactored.
(edit) @106   9 years mulligan Same with ORL and XRL instructions.
(edit) @105   9 years mulligan Significantly improved implementation of ANL instructions.
(edit) @104   9 years mulligan Significantly improved implementation of DA instruction: code reduced …
(edit) @103   9 years mulligan fixed implementation of assembly, fixed typing error in execute.
(edit) @102   9 years mulligan Implemented INC DPTR. Type error related to polymorphic variants though.
(edit) @101   9 years mulligan Fixing type errors in execute1.
(edit) @100   9 years mulligan More added to ASMInterpret.
(edit) @97   9 years mulligan Move to polymorphic variants everywhere (scary...)
(edit) @95   9 years mulligan fixed typing errors in ASMInterpret up to execute1.
(edit) @93   9 years mulligan Fixed INC DPTR to assert false.
(edit) @92   9 years mulligan Fixed physical interface file. Refactoring ASMInterface.
(edit) @91   9 years mulligan Finished porting/fix type errors in physical.
(edit) @90   9 years mulligan Ported physical.ml to be compatible with new bitvector code, started …
(edit) @83   9 years mulligan Lots of work done on tidying up code.
(edit) @81   9 years mulligan INC DPTR partially implemented.
(edit) @80   9 years mulligan ANL, ORL and XRL instructions implemented.
(edit) @79   9 years mulligan One of the ANL instruction combinations implemented.
(edit) @78   9 years mulligan LCALL implemented.
(edit) @77   9 years mulligan ACALL implemented.
(edit) @76   9 years mulligan MOVC instruction implemented.
(edit) @75   9 years mulligan AJMP implemented.
(edit) @74   9 years mulligan RETI instruction implemented.
(edit) @73   9 years mulligan RET instruction implemented.
(edit) @72   9 years mulligan DA instruction implemented: pretty complex!
(edit) @71   9 years mulligan Two more jump instructions implemented.
(edit) @70   9 years mulligan XCHD implemented.
(edit) @69   9 years mulligan PUSH implemented.
(edit) @68   9 years mulligan POP implemented ... at last.
(edit) @67   9 years mulligan DJNZ instruction finished.
(edit) @62   9 years mulligan Many additions to Bit, Nibble and Byte API, as well as more …
(edit) @60   9 years mulligan Finished implementing all jump instructions.
(edit) @58   9 years mulligan Bug fixed in CJNE instruction. More jump instructions implemented.
(edit) @57   9 years mulligan More instructions implemented. Started cleaning up code by moving …
(edit) @55   9 years mulligan CJNE instruction finished.
(edit) @54   9 years mulligan CLR instructions implemented.
(edit) @53   9 years mulligan All RR* and RL* instructions implemented.
(edit) @52   9 years mulligan RL, RR and SWAP implemented.
(edit) @51   9 years mulligan NOP and SETB implemented.
(edit) @50   9 years mulligan More missing cases added to the ASMInterpret functions. Pretty …
(edit) @49   9 years mulligan Fixed bug in ASMInterpret functions: CPL functions were not …
(edit) @46   9 years mulligan MOV done.
(edit) @44   9 years mulligan Added pretty printing functions for bits, bytes, words etc.
(edit) @43   9 years mulligan Address1 function completed.
(edit) @42   9 years mulligan Address1 function completed for instructions A--M.
Note: See TracRevisionLog for help on using the revision log.