EDiasAlberto
|
6bd993b29e
|
fix dpregister to construct IR
|
2024-06-13 20:01:35 +01:00 |
|
GDBWNV
|
228bfec612
|
more changes to wide moves
|
2024-06-13 19:57:26 +01:00 |
|
GDBWNV
|
9a92efc3f3
|
changes to wide move
|
2024-06-13 19:52:53 +01:00 |
|
sBubshait
|
ed6ff9ba92
|
Update the tokenizer to skip whitespaces
|
2024-06-13 19:26:40 +01:00 |
|
EDiasAlberto
|
16fb04b737
|
fix tokenising of dpimmediate shifts
|
2024-06-13 19:25:22 +01:00 |
|
sBubshait
|
fb15dc90c6
|
Fix Bug in Parser for an error checking
|
2024-06-13 19:20:02 +01:00 |
|
sBubshait
|
ded57032ce
|
Update encode for a small bug in the numbering
|
2024-06-13 19:08:25 +01:00 |
|
sBubshait
|
ba41986b7b
|
Fix Bug in the naming of the file
|
2024-06-13 19:06:05 +01:00 |
|
sBubshait
|
38951db9c8
|
Restructure encode into a separate module
|
2024-06-13 19:04:49 +01:00 |
|
EDiasAlberto
|
664f8e6478
|
build struct for DPRegister arithmetic
|
2024-06-13 19:01:39 +01:00 |
|
sBubshait
|
cea9590621
|
Update Encoding DP Register for readability
|
2024-06-13 18:40:17 +01:00 |
|
EDiasAlberto
|
873c0b60cb
|
add hex number handling to getoperandnumebrs
|
2024-06-13 18:37:36 +01:00 |
|
sBubshait
|
31fa1392e1
|
Restructring the assembling into binary, add helper funcs
|
2024-06-13 17:25:17 +01:00 |
|
sBubshait
|
995c6d02fa
|
Rewrite the parser for better structure, Add DPI parsing
|
2024-06-13 17:24:09 +01:00 |
|
sBubshait
|
38e5cd06fa
|
Add tokeniser.c to make parsing easier
|
2024-06-13 17:23:30 +01:00 |
|
EDiasAlberto
|
6ddf18be96
|
fix halt command encoding
|
2024-06-12 20:40:38 +01:00 |
|
EDiasAlberto
|
c52de918db
|
build struct for loadstore instructions
|
2024-06-12 20:22:08 +01:00 |
|
EDiasAlberto
|
344f455be3
|
fix loadreg struct construction
|
2024-06-12 19:25:05 +01:00 |
|
Dias Alberto, Ethan
|
6c1be8e1ef
|
Merge branch 'assembler-e' into 'assembler-s'
# Conflicts:
# src/parser.c
|
2024-06-12 16:49:17 +00:00 |
|
sBubshait
|
fab4047d22
|
Update fileio, skip new lines
|
2024-06-12 17:48:23 +01:00 |
|
EDiasAlberto
|
06b18706ed
|
rewrite opcode/operand splitting logic
|
2024-06-12 17:34:14 +01:00 |
|
EDiasAlberto
|
53f5b05210
|
rewrite uses of strcpy w/ S
|
2024-06-12 17:02:52 +01:00 |
|
EDiasAlberto
|
9f92eb4766
|
fix tokeniseOperands param order
|
2024-06-12 16:54:38 +01:00 |
|
EDiasAlberto
|
f4fd71a330
|
fix syntax error with getOperandNumber
|
2024-06-12 16:46:59 +01:00 |
|
EDiasAlberto
|
c6ff7e1c4e
|
comment getOperandNumber
|
2024-06-12 16:29:29 +01:00 |
|
EDiasAlberto
|
f32304afb7
|
create helper function to generate number from operand
|
2024-06-12 16:24:42 +01:00 |
|
sBubshait
|
53ab6a2bf6
|
Update fileio, add countLine, rewrite read and write file funcs
|
2024-06-12 00:50:00 +01:00 |
|
sBubshait
|
269a150926
|
Fix types, signatures, and arguments.
|
2024-06-12 00:49:25 +01:00 |
|
sBubshait
|
17d31a74e3
|
Add a working Makefile for testing purposes
|
2024-06-11 23:49:40 +01:00 |
|
sBubshait
|
850f3cf4f7
|
Add overall assemble structure
|
2024-06-11 23:46:40 +01:00 |
|
sBubshait
|
999f36facd
|
Fix bugs to make code compile. Code now compiles
|
2024-06-11 23:19:04 +01:00 |
|
sBubshait
|
31c1ae90f7
|
Attempt to make code compile, fix syntax errors
|
2024-06-11 23:13:23 +01:00 |
|
sBubshait
|
efaed431d0
|
Added all instruction in subfolder a64instruction
|
2024-06-11 23:02:26 +01:00 |
|
EDiasAlberto
|
62ff6e9e02
|
fix syntax errors in fileio.c
|
2024-06-11 21:23:26 +01:00 |
|
EDiasAlberto
|
647f47e39d
|
rewrite fileio to load file into memory
|
2024-06-11 21:16:47 +01:00 |
|
EDiasAlberto
|
173bdf08ec
|
fix incorrect fileio.c
|
2024-06-11 20:23:00 +01:00 |
|
EDiasAlberto
|
6153db7737
|
fix compile issues git add . :)
|
2024-06-11 17:35:23 +01:00 |
|
EDiasAlberto
|
92719b6b33
|
comments for clarity in parser
|
2024-06-09 23:10:39 +01:00 |
|
EDiasAlberto
|
d0be871e8f
|
generate offset operand for load literal with immediate value
|
2024-06-09 23:07:45 +01:00 |
|
EDiasAlberto
|
44bb327b7d
|
begin formulating parser pipeline
|
2024-06-09 22:54:27 +01:00 |
|
EDiasAlberto
|
4098ea5a5f
|
calculate offsets for different store instructions
|
2024-06-09 22:43:37 +01:00 |
|
EDiasAlberto
|
04dda33987
|
calculate base register from input
|
2024-06-09 22:21:30 +01:00 |
|
EDiasAlberto
|
34060c3fad
|
fix hierarchy of struct access in parser
|
2024-06-06 17:54:35 +01:00 |
|
EDiasAlberto
|
1fa33798bf
|
rewrite DP classification logic
|
2024-06-06 17:38:54 +01:00 |
|
EDiasAlberto
|
f57e0a786f
|
rename assembler funcs for clarity
|
2024-06-06 17:14:56 +01:00 |
|
EDiasAlberto
|
225ade7770
|
fix use of cpp syntax
|
2024-06-06 17:10:18 +01:00 |
|
Dias Alberto, Ethan
|
9c6a459b23
|
Merge branch 'assembler' into 'assembler-e'
# Conflicts:
# src/twopassassembly.c
|
2024-06-06 16:03:18 +00:00 |
|
GDBWNV
|
da50ee27a1
|
added label, branch, halt, directive to switch statement
|
2024-06-06 16:40:24 +01:00 |
|
EDiasAlberto
|
5413d27026
|
adjust operand counts for calculating address format
|
2024-06-06 14:46:56 +01:00 |
|
EDiasAlberto
|
f1ac860d6a
|
rewrite address format calculation
as { is not in the actual asm syntax
|
2024-06-06 14:46:16 +01:00 |
|