aboutsummaryrefslogtreecommitdiff
path: root/src/cpu/instruction.spec.ts (unfollow)
Commit message (Collapse)AuthorFilesLines
2020-09-02fix(instruction): EICALL is brokenUri Shaked1-0/+1
close #59
2020-06-04test(instruction): extract constantsUri Shaked1-238/+274
This makes the test code easier to follow
2020-04-28fix(instruction): LD, ST instructions should take 2 clock cyclesUri Shaked1-14/+14
close #39
2020-04-09feat(instruction): 22-bit PC support #31Uri Shaked1-8/+73
adapt CALL, ICALL, RCALL, RET, and RETI for MCUs with 22-bit PC
2020-04-09feat(instruction): implement EICALL, EIJMP #31Uri Shaked1-0/+23
2020-04-08feat(instruction): implement ELPM #31Uri Shaked1-0/+50
2020-04-02test(instruction): use assembly in testsUri Shaked1-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');
2020-03-22refactor: added peripherals and cpu feature folderslironh1-0/+0
2020-01-30test(instruction): fix incorrect opcode in testsUri Shaked1-1/+1
2019-11-27fix: SP not initialized on resetUri Shaked1-0/+8
close #2
2019-11-20test: SWAP, STSUri Shaked1-1/+19
2019-11-20fix: SREG issues in ADC, CPC, SBC, SBCIUri Shaked1-1/+46
also added regression test cases
2019-11-20feat: implement most instructionsUri Shaked1-0/+152
2019-11-20feat: LPM, LSR, MOV, MOVW, MUL, MULS, MULSU, NEGUri Shaked1-9/+144
+ tests
2019-11-20feat: LAC, LAS, LAT, LDS instructions + testsUri Shaked1-0/+48
2019-11-20feat: more instructionsUri Shaked1-1/+62
implement ADC, ADD, ADIW, AND, ANDI, ASR, BCLR, BLD, BRBC, BRBS, test some of them
2019-11-19feat: CALL, INC, RET, RETI, ROR instructionsUri Shaked1-9/+70
2019-11-19feat: LDY/LDZ/LDDY/LDDZ instructions + testsUri Shaked1-7/+95
2019-11-19feat: STY/STZ/STDY/STDZ instructions + testsUri Shaked1-2/+90
2019-11-19feat: implement LDX instructionsUri Shaked1-2/+35
2019-11-19test: sort instructions by nameUri Shaked1-19/+19
2019-11-19feat: implement STXUri Shaked1-2/+24
2019-11-19feat: implement some AVR instructions + testsUri Shaked1-0/+78