about summary refs log tree commit diff stats
path: root/015immediate_addressing.cc
Commit message (Collapse)AuthorAgeFilesLines
* 7133Kartik Agaram2020-10-281-2/+2
|
* .Kartik Agaram2020-10-241-3/+3
|
* bootstrap: more tweaks to int constantsKartik Agaram2020-10-231-13/+13
|
* 7089Kartik Agaram2020-10-221-18/+18
|
* 7041Kartik Agaram2020-10-151-12/+12
| | | | Reconcile a few details with the mu-normie fork.
* 6090 - new instruction: multiply by immediateKartik Agaram2020-03-061-0/+39
| | | | | | | | | | | | | | | This is a 3-operand instruction: r32 = rm32 * imm32 It looks like https://c9x.me/x86/html/file_module_x86_id_138.html has a bug, implying the same opcode supports a 2-operand version. I don't see that in the Intel manual pdf, or at alternative sites like https://www.felixcloutier.com/x86/imul Native runs seem to validate my understanding. In the process I also fixed a bug in the existing multiply instruction 0f af: the only flags it sets are OF and CF. The other existing multiply instruction f7 was doing things right.
* 5983 - fix an emulator bounds-check bugKartik Agaram2020-02-051-1/+1
| | | | | | It was possible for an instruction to write out of bounds of the memory data structure. Most of the time this worked fine. However if the block ever got resized and moved the out-of-bounds bytes no longer went along.
* 5818Kartik Agaram2019-12-221-3/+3
|
* 5713Kartik Agaram2019-10-231-2/+2
|
* 5485 - promote SubX to top-levelKartik Agaram2019-07-271-0/+1272
alt'>
d7d384a7 ^

82d1fe7c ^

74f1512f ^

e170b35d ^





c8e41a47 ^
e170b35d ^
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58