Commit Graph

40 Commits

Author SHA1 Message Date
GDBWNV
f5dabe26b2 DPI arithmetic 2024-06-12 17:06:20 +01:00
GDBWNV
3290896f6e add, adds, cmn 2024-06-12 16:55:30 +01:00
GDBWNV
28b38f4a80 small update, sync helper function 2024-06-12 16:39:33 +01:00
EDiasAlberto
f32304afb7 create helper function to generate number from operand 2024-06-12 16:24:42 +01:00
sBubshait
269a150926 Fix types, signatures, and arguments. 2024-06-12 00:49:25 +01:00
sBubshait
850f3cf4f7 Add overall assemble structure 2024-06-11 23:46:40 +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
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
225ade7770 fix use of cpp syntax 2024-06-06 17:10:18 +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
EDiasAlberto
70e02768b6 fix struct access 2024-06-06 14:30:13 +01:00
EDiasAlberto
872d4224f8 classify register type and base register for load/store 2024-06-06 14:28:32 +01:00
EDiasAlberto
1011d7be71 classify load store addressing type 2024-06-06 14:14:10 +01:00
EDiasAlberto
b93ab76b82 generate branch struct from operands (INCOMPLETE) 2024-06-06 13:22:54 +01:00
EDiasAlberto
6177b2f748 assemble branch instructions 2024-06-06 13:01:26 +01:00
EDiasAlberto
bb0f939539 construct instr IR from label 2024-06-05 21:07:28 +01:00
EDiasAlberto
8931c151f8 removed duped if statement 2024-06-05 21:02:25 +01:00
EDiasAlberto
f28d3b4047 removed alias function temporarily 2024-06-05 21:01:39 +01:00
EDiasAlberto
48efdf8284 classify directprocessing instruction type 2024-06-05 20:53:56 +01:00
Dias Alberto, Ethan
4df768f327 Merge branch 'assembler' into 'assembler-e'
# Conflicts:
#   src/parser.c
2024-06-05 19:01:15 +00:00
EDiasAlberto
1d1089634f add halt command handling 2024-06-05 19:57:51 +01:00
EDiasAlberto
129bdf3954 classify opcode load/store 2024-06-05 19:57:51 +01:00
EDiasAlberto
0f04ac9e22 rename fileaccess 2024-06-04 14:53:30 +01:00
EDiasAlberto
ce0f825e1d add halt command handling 2024-06-04 04:24:56 +01:00
EDiasAlberto
13e2cc8c9d classify branch type from opcode 2024-06-04 03:35:06 +01:00
EDiasAlberto
bb3218b535 add detail to assembly skeleton 2024-06-04 03:07:00 +01:00
EDiasAlberto
422b0f3e62 start classifying opcodes and writing skeleton for twopass assembly 2024-06-04 01:30:17 +01:00
EDiasAlberto
cadac4e1bb rename parser funcs for clarity 2024-06-03 23:09:40 +01:00
EDiasAlberto
036e163fe8 classify asm line type, tokenise operands 2024-06-03 23:07:31 +01:00
EDiasAlberto
ba1b614fc1 comment code for understanding 2024-06-03 22:02:41 +01:00
EDiasAlberto
43dd6be707 add a64instruction structs from emulator 2024-06-03 21:46:22 +01:00