JosephFerano
  • Joined on 2023-04-20
JosephFerano created repository JosephFerano/gitano 2025-04-01 22:18:15 +07:00
JosephFerano pushed to master at JosephFerano/performance-aware 2025-03-23 09:03:19 +07:00
85a8172923 Add .LOOP instruction, dump memory to disk with cli arg
fafb440891 Listings 54 and 55
Compare 2 commits »
JosephFerano pushed to master at JosephFerano/performance-aware 2025-03-22 18:55:27 +07:00
df105ea3cf Generalize with perform_load and perform_store, use bit_set for cpu flags
JosephFerano pushed to master at JosephFerano/performance-aware 2025-03-22 15:22:21 +07:00
831a307975 Fix and simplify (delete) all the signage stuff
ea7b65994b Fix IN and OUT instructions decoding
ab2b107e7e Listing 53
Compare 3 commits »
JosephFerano pushed to master at JosephFerano/performance-aware 2025-03-21 20:47:59 +07:00
da78d875c1 Effective address movs work, but at what cost?
3ca4059c44 Listing 52
Compare 2 commits »
JosephFerano pushed to master at JosephFerano/performance-aware 2025-03-21 20:11:57 +07:00
11ccfe78a9 Handle Memory movs, change displacement from union to enum
948960e8f5 Listing 51
Compare 2 commits »
JosephFerano pushed to master at JosephFerano/performance-aware 2025-03-21 17:20:07 +07:00
0e90e2c23c Handle additional jumps for listing 50
JosephFerano pushed to master at JosephFerano/performance-aware 2025-03-21 16:34:35 +07:00
99fd7fabd7 Add inst decoded type for better modeling, handle jumps correctly with IP register
d0f91f15f8 Listings 48 and 49
Compare 2 commits »
JosephFerano pushed to master at JosephFerano/performance-aware 2025-03-20 20:23:16 +07:00
731e5bd45d CF, OF, and PF flags, keep values as i16, update ref test script
JosephFerano pushed to master at JosephFerano/performance-aware 2025-03-20 16:14:17 +07:00
5cf4768b80 Decode then check reference flags, change registers and flags to use enumerated arrays
cd5eada115 Listing 47
Compare 2 commits »
JosephFerano pushed to master at JosephFerano/performance-aware 2025-03-20 13:07:05 +07:00
08874c4533 Use an enum to represent registers, parse txt files, check CPU state against expected
JosephFerano pushed to master at JosephFerano/performance-aware 2025-03-20 09:45:08 +07:00
305ac557fa Move registers to CPU struct, start working on testing code
JosephFerano pushed to master at JosephFerano/performance-aware 2025-03-20 08:19:40 +07:00
b511c6a620 Clean up/inline functions and clear out TODOs
JosephFerano pushed to master at JosephFerano/performance-aware 2025-03-19 21:11:42 +07:00
266f7a7900 Factor out get/set actions to reduce duplication, execute add,sub,cmp and check flags
863ccfc583 Convert TBD instruction op names to the actual enum variants, rather than strings
fd8f696627 Listing 46
Compare 3 commits »
JosephFerano pushed to master at JosephFerano/performance-aware 2025-03-19 18:57:55 +07:00
a91c3d9ba9 Clean up operand code by removing unnecessary variants
JosephFerano pushed to master at JosephFerano/performance-aware 2025-03-18 21:16:31 +07:00
c312b7fd57 Fix register logic since we can access high and low parts, it's really ugly
JosephFerano pushed to master at JosephFerano/performance-aware 2025-03-17 21:52:29 +07:00
b78d043b6c Add new listings, supply cs register, fix segreg mov instruction
JosephFerano pushed to master at JosephFerano/performance-aware 2025-03-16 23:55:45 +07:00
118ed482c1 Add listing 0044.txt, rm test files at the end of script
JosephFerano pushed to master at JosephFerano/performance-aware 2025-03-16 23:46:11 +07:00
6e7783c623 Bash script to compare expected output, print values in a way that's easy to test
JosephFerano pushed to master at JosephFerano/performance-aware 2025-03-15 22:29:08 +07:00
7e74d1e9a2 Print registers and execute basic mov instructions