aboutsummaryrefslogtreecommitdiff
path: root/src/cpu/instruction.spec.ts (follow)
Commit message (Collapse)AuthorAgeFilesLines
* test(instruction): extract constantsUri Shaked2020-06-041-238/+274
| | | | This makes the test code easier to follow
* fix(instruction): LD, ST instructions should take 2 clock cyclesUri Shaked2020-04-281-14/+14
| | | | close #39
* feat(instruction): 22-bit PC support #31Uri Shaked2020-04-091-8/+73
| | | | adapt CALL, ICALL, RCALL, RET, and RETI for MCUs with 22-bit PC
* feat(instruction): implement EICALL, EIJMP #31Uri Shaked2020-04-091-0/+23
|
* feat(instruction): implement ELPM #31Uri Shaked2020-04-081-0/+50
|
* test(instruction): use assembly in testsUri Shaked2020-04-021-89/+91
| | | | | | | | | | | | Refactored the tests to use AVR assembly instead of hardcoded bytecode. This change should make the tests much easier to read and maintain. Before: loadProgram('659a'); Now: loadProgram('SBI 0x0c, 5');
* refactor: added peripherals and cpu feature folderslironh2020-03-221-0/+837