From c76679dbff6b3f350fbf0696a0d986514ba11676 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Tue, 29 Jun 2021 22:45:33 -0700 Subject: more general timer interface --- 319timer.subx | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 319timer.subx (limited to '319timer.subx') diff --git a/319timer.subx b/319timer.subx new file mode 100644 index 00000000..a88af39e --- /dev/null +++ b/319timer.subx @@ -0,0 +1,13 @@ +== code + +timer-counter: # -> _/eax: int + # . prologue + 55/push-ebp + 89/<- %ebp 4/r32/esp + # + 8b/-> *Timer-counter 0/r32/eax +$timer-counter:end: + # . epilogue + 89/<- %esp 5/r32/ebp + 5d/pop-to-ebp + c3/return -- cgit 1.4.1-2-gfad0 value='9a77780158842db6e4aa098f5027e030fc3bd878'/> Soul of a tiny new machine. More thorough tests → More comprehensible and rewrite-friendly software → More resilient society.Kartik K. Agaram <vc@akkartik.com>
about summary refs log tree commit diff stats
path: root/tools/iso/kernel.soso/random.c
blob: c78501d8e1755e9b215d656f5a6ef97d05c5a594 (plain) (blame)
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