Commit graph

23 commits

Author SHA1 Message Date
Perry Kivolowitz
52bf6eccd9 Clarify PUSH_P / PUSH_R / POP_P / POP_R naming at first encounter
Part of #33.

The v6.S listing in the hello_world chapter introduces the PUSH_P,
PUSH_R, POP_P and POP_R macros without explicitly telling the reader
what the _P and _R suffixes stand for. For a reader reading the
chapter in order, the mapping is derivable: the book established
stp = "store pair" about 260 lines earlier, and the _R suffix falls
out by parallel with str. But a reader who jumped straight to v6.S
without reading the stp explanation (as Atcold did in issue #33) has
no such anchor and is left guessing.

One sentence at the "The push and pop macros simply save typing"
paragraph closes the gap: it names the _P / _R suffixes, connects
them to the already-taught stp / str convention, and costs a skimmer
nothing. The macro names themselves are unchanged; they were already
fine for an in-order reader, and renaming would have churned every
.S file in the book.
2026-04-19 02:26:19 -05:00
Perry Kivolowitz
320f77b04b I guess I didn't sleep well, corrected the corrected gammar 2024-05-05 10:04:33 -05:00
Perry Kivolowitz
c2e75eb0ab grammar 2024-05-05 10:03:41 -05:00
Perry Kivolowitz
5a95744437 up 2024-05-05 10:02:15 -05:00
Perry Kivolowitz
966862042a corrected user name 2024-05-05 09:58:55 -05:00
Perry Kivolowitz
6243dc9b49 correction due to arne 2024-05-05 09:55:48 -05:00
Perry Kivolowitz
bce4e339e2 added M series code without macros 2024-05-02 09:29:44 -05:00
Perry Kivolowitz
630812d99a added M series code without macros 2024-05-02 09:27:33 -05:00
Perry Kivolowitz
29791113ae additions to hello world - provided addition for loop implementation 2024-02-05 10:54:54 -06:00
Perry Kivolowitz
d3fea6487b updated markdownlint problems plus error in while 2024-01-25 16:08:01 -06:00
Perry Kivolowitz
f301a4024a made hello world build on Apple 2023-02-02 15:54:05 -06:00
Perry Kivolowitz
cf65bbcf99 explanation of line 7 thank you to 0x3333 for the pull request 2022-12-26 08:33:44 -06:00
Alex Bender
28c071ba87
Update README.md
Typo fix
2022-12-25 22:51:40 +02:00
Perry Kivolowitz
ac47f303e9 clean up 2022-12-17 23:40:32 -06:00
Perry Kivolowitz
b855b91731 Header change - added working.md but it is still empty 2022-06-20 10:46:10 -05:00
Perry Kivolowitz
c2b84cf76e clarified that mov is a copy 2022-06-20 10:36:21 -05:00
Perry Kivolowitz
978ef14fb5 gave up on chapter designations in the chapters 2022-06-10 03:42:51 -05:00
Perry Kivolowitz
d99e803796 making markdown lint happier 2022-06-07 15:19:19 -05:00
Perry Kivolowitz
8c4adeb76c proof reading 2022-06-07 10:23:45 -05:00
Perry Kivolowitz
cbb9044442 added exercises and more detailed answers 2022-05-19 10:46:39 -05:00
Perry Kivolowitz
7444d2842a added Hello World to Hello World 2022-05-19 08:39:41 -05:00
Perry Kivolowitz
1d196ea1e6 finished (for now) Hello World 2022-05-17 14:33:46 -05:00
Perry Kivolowitz
c470caa6ff begun moving over hello world chapter. 2022-05-16 21:28:28 -05:00