MegaProcessor

Timeline
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

50 most recent check-ins related to "trunk"

2015-10-22
17:54
[1b3f350d14] Leaf: Made function Error independent of Warn. (user: jos tags: trunk)
16:56
[8b4d99ed90] Added warning when Immediate-format operand for LD.B instruction evaluates to word-size with MSB != 0. (user: jos tags: trunk)
12:28
[1a38e93721] Make the stack+offset instructions accept '+' as well as ',' (user: jos tags: trunk)
09:17
[260a245f88] Completed instructions LD.B LD.W ST.B and ST.W (user: jos tags: trunk)
2015-10-12
18:00
[6036736179] Implemented LSL,ASL,ROL,ROXL instructions. (xxR variants are still open) (user: jos tags: trunk)
12:36
[68539753e6] moved a file out of the way. (user: jos tags: trunk)
2015-10-09
10:28
[ade7e89880] Typo-fix in .WT part of the 0xd8..0xdb postbyte table. (user: jos tags: trunk)
10:11
[37476051d2] Added table with postbytes for instructions 0xd8..0xdb (shifts/rotates) Have script `tools/gen_bitops.lua` leave a signature in its output. (user: jos tags: trunk)
2015-10-06
17:12
[eb9ed1ec92] Flagged all opcode-instructions that still return dummy byte values. (user: jos tags: trunk)
16:55
[6bcf6e60d4] Fixed small typo for postbyte range 0xb0..0xb3. (user: jos tags: trunk)
2015-09-25
13:00
[7b9445a7e9] Implemented all 8 '.WT' shift/rotate instructions. (user: jos tags: trunk)
2015-09-24
17:08
[5479a8adb6] Implemented translation of the BCHG,BCLR,BSET,BTST instructions. Todo, have '#' mode accept symbols besides of decimals. (user: jos tags: trunk)
2015-09-22
14:48
[d58b8e25e9] Making instructions ld.[bw] and st.[bw] do the right thing. (user: jos tags: trunk)
11:38
[69958f5974] A little bit of cleanup. (user: jos tags: trunk)
2015-09-19
17:59
[8d5232f487] Added operand evaluation with symbol-table lookup, TODO: integrate it with the appropriate opcode-generating functions. In this commit, only "jmp start" gets assembled correctly. (user: jos tags: trunk)
2015-08-22
18:12
[dcc9eecbd2] DRYed up the output of listing-file lines. (user: jos tags: trunk)
17:59
[34e6793e25] Have the EQU directive only handled in pass 1, and fix a list-file issue for the ORG directive. (user: jos tags: trunk)
16:18
[6dba3c8041] A little extra in the symbol-table dump : decimal format besides hex. (user: jos tags: trunk)
16:17
[8769e987b7] Attempted improvements on handling of db, dw, dl directives. (user: jos tags: trunk)
2015-08-20
22:46
[d3fe8703aa] Started to split the translation process in 2 separate passes. (user: jos tags: trunk)
21:20
[78c4228b9b] Properly report the (impropable) case of an empty symbol table. (user: jos tags: trunk)
13:20
[756d4d80c3] Moved handling of source-line errors from lua function to own function, which always prints the number of the faulty source-line. (user: jos tags: trunk)
2015-08-15
14:00
[4f89728dfa] Added a tool to directly print the mnemonic form of the bit-oriented instructions. Changed dis_d8_db.lua to make 'require' work again. (user: jos tags: trunk)
2015-08-14
21:22
[3e524fe20d] First stab at processing of lables and symbols. (user: jos tags: trunk)
14:16
[65f2d4419c] Moved the generator-script dis_d8_db to 'tools', added functionality to skip printing the redundant instructions. (user: jos tags: trunk)
11:29
[6aee36cd9f] Prettyfied the format of the List-file output. (user: jos tags: trunk)
10:43
[ff3e1a01ea] Added ProgramCounter and Symbol table functionality. (user: jos tags: trunk)
10:12
[d1e029084f] Corrected ihex checksum calculation, investigated on bit_op redundant ranges. (user: jos tags: trunk)
2015-08-13
13:00
[19c2dad8e4] Restructured some tests involving ihex records and bitwise operations. (user: jos tags: trunk)
12:07
[a639fc9186] DRYed up most io.write(string.format(...)) things, and some other cleanup. (user: jos tags: trunk)
2015-08-11
23:19
[0791033629] Added logic to calculate the length of an instruction. (user: jos tags: trunk)
21:50
[2acd1fa545] Added opcode for NOP_x (0xc5) (user: jos tags: trunk)
14:49
[b37e57a31d] This fixes the ST.B (sp,0xvv),Rx problem. The second field is captured as everything between balanced parenteses, (including a ','). (user: jos tags: trunk)
13:50
[9741453f2c] Tried to duplicate the good work for instruction LD.B to instruction ST.B This version generates the same bytes for ST.B (SP,0xVV),Rx and ST.B 0xWWWW,Rx The trouble seems to be in string "(SP,0xVV)" not being kept together due to the ','; This needs to be fixed in another place. (user: jos tags: trunk)
2015-08-09
21:43
[25ab0cb1a1] Improvements on LD.B instruction (which can be 1, 2, or 3 bytes long) (user: jos tags: trunk)
15:48
[a83761cb23] Added aliases INC and DEC. (user: jos tags: trunk)
13:41
[4ddbdf4b00] moved a one-off test-tool out of the way. (user: jos tags: trunk)
2015-08-07
14:50
[30305c1cdb] Moved ihex-generating functions into their own separate module. Added some cleverness to allow tables as well as strings on ihex_datarecord() (user: jos tags: trunk)
2015-08-03
21:58
[4c181d3d35] Moved executables to new subdirectory 'bin'. (user: jos tags: trunk)
21:48
[956565c236] Bug-fix: have the test in isReg actually call the error() function. (user: jos tags: trunk)
21:00
[5ce49e15aa] Refactored some things, using functions in new module lib.lua (user: jos tags: trunk)
2015-07-31
22:06
[8a5653ef25] Eliminated all the print-statements from 'opcodes.lua', Cleanup of the list-file output. (user: jos tags: trunk)
14:02
[8fa71e963b] Added sp handling to MOVE instruction, and rudimentary handling of JMP/JSR operands. (user: jos tags: trunk)
2015-07-30
16:10
[cb73d9315a] A picture says more than 0x3e8 words :-) Added a drawing to illustrate the relations between the MegaProcessor's registers. (user: jos tags: trunk)
14:39
[b07bb1c70e] This version assembles about half of the instructions, good moment to commit :-) (user: jos tags: trunk)
2015-07-29
16:01
[2dacb66e8e] More and more opcodes are now evaluated correctly. (user: jos tags: trunk)
2015-07-17
21:03
[9b1ea624ff] yet another small tool. (user: jos tags: trunk)
12:10
[4b1a7e15eb] Replaced a couple of print-statements to skeleton return statements. Eventually, each function must return 1, 2, or 3 bytes corresponding to the assembly-language instruction. (user: jos tags: trunk)
2015-07-16
23:33
[841b5c7a4b] More trial stuff, but it seems to be going in the right direction. (user: jos tags: trunk)
2015-07-15
16:20
[2a4605e430] Incomplete release.. Added some trial stuff. (user: jos tags: trunk)