Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > alt.sys.pdp10 > #9997
| From | Kragen Javier Sitaker <kragen@canonical.org> |
|---|---|
| Newsgroups | alt.sys.pdp10, comp.arch |
| Subject | the Ten Heavenly Stems (was Re: Accumulator naming) |
| Date | 2026-09-11 16:07 -0300 |
| Organization | Primarily biological and memetic |
| Message-ID | <87ik4bbo96.fsf_-_@debian> (permalink) |
| References | <87wlulwflh.fsf@atr2.ath.cx> <mdd33x9cbvq.fsf@panix5.panix.com> <87se579i01.fsf@atr2.ath.cx> <mddqzklxxa5.fsf_-_@panix5.panix.com> <87zez8pkku.fsf@atr2.ath.cx> |
Cross-posted to 2 groups.
(People reading this may find it sufficiently off the wall as to wonder if an LLM wrote it, but I assure you that I wrote it entirely with my organic brain, and Emacs, looking stuff up with Firefox. I write the em dashes with the Compose key.) jayjwa <jayjwa@atr2.ath.cx.invalid> writes: > It's easier, at least for me, to make a “mental map” of where things are > when they have names rather than numbers, even if those names are > short. It's easier to recall “watermellon”, “apple”, “grape” than 39, > 23, 5 even though both sets are decending in magnitude. [...] In English, Hebrew, Greek, etc., the obvious alternative to numbers is to use letters of the alphabet: register A, register B, register C, etc. In Chinese, of course, there is no alphabet, but, as I understand it (my Chinese is mostly limited to reading datasheets), the Ten Heavenly Stems <https://en.wikipedia.org/wiki/Heavenly_Stems> and Twelve Earthly Branches <https://en.wikipedia.org/wiki/Earthly_Branches> are used in much the same way. This may not be adequate for a processor with many architectural registers like RISC-V’s 32 (or 31) or MMIX’s 256, but it’s close enough. The Ten Heavenly Stems have mostly lost their original meanings over the last 3000 years and been relegated to mostly only this use. I have listed them here with their origins; where they have other current uses, I have put them in parentheses: 1. 甲 turtle shell (methyl, “armor”) 2. 乙 fish guts (ethyl, “twist”) 3. 丙 fish tail 4. 丁 nail 5. 戊 halberd (Firefox’s translation neural network translates it as “E”) 6. 己 thread on a loom (“self”) 7. 庚 evening star (“age”) 8. 辛 to offend superiors (“spicy”) 9. 壬 burden 10. 癸 four-handled plow I am amused at the idea of moving a 36-bit quantity from register Eveningstar to register Fishtail, but I think that might be a bit of a hard sell. Of course, in Chinese, the names are just one syllable. The Twelve Earthly Branches are used, among other things, for two-hour periods of the day, and they have a conventional correspondence with the Chinese 12-year zodiac symbols, which I have placed in square brackets. They were used to name the days of a 12-day week 3000 years ago. The zodiac symbols are not the meanings of the characters, which, as with the Heavenly Stems, have largely lost their meaning over the last few millennia. 1. 子 child [rat] 2. 丑 ugly, clown [ox] 3. 寅 [tiger] 4. 卯 [rabbit] 5. 辰 day [dragon] 6. 巳 [snake] 7. 午 noon [horse] 8. 未 not yet [goat] 9. 申 to state or explain [monkey] 10. 酉 unitary [rooster] 11. 戌 army [dog] 12. 亥 [pig] The zodiac symbols seem like they would greatly improve the memorability of one’s assembly code and calling conventions — it would be much easier to learn that the stack pointer was the Pig register and the link register was the Dragon register than to learn which one was r14 and which one was r15. Kragen
Back to alt.sys.pdp10 | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Fizz Buzz jayjwa <jayjwa@atr2.ath.cx.invalid> - 2026-07-23 17:39 -0400
Re: Fizz Buzz Rich Alderson <news@alderson.users.panix.com> - 2026-07-23 23:19 -0400
Re: Fizz Buzz jayjwa <jayjwa@atr2.ath.cx.invalid> - 2026-07-25 12:00 -0400
Re: Fizz Buzz Rich Alderson <news@alderson.users.panix.com> - 2026-07-25 18:05 -0400
Re: Fizz Buzz jayjwa <jayjwa@atr2.ath.cx.invalid> - 2026-07-26 11:12 -0400
Accumulator naming Rich Alderson <news@alderson.users.panix.com> - 2026-07-29 18:10 -0400
Re: Accumulator naming scott@slp53.sl.home (Scott Lurndal) - 2026-07-30 15:14 +0000
Re: old architectures, was Accumulator naming John Levine <johnl@taugh.com> - 2026-07-30 20:40 +0000
Re: Accumulator naming Rich Alderson <news@alderson.users.panix.com> - 2026-07-30 18:41 -0400
Re: Accumulator naming jayjwa <jayjwa@atr2.ath.cx.invalid> - 2026-07-30 11:24 -0400
Re: Accumulator naming scott@slp53.sl.home (Scott Lurndal) - 2026-07-30 16:03 +0000
Re: Accumulator naming Rich Alderson <news@alderson.users.panix.com> - 2026-07-30 18:56 -0400
Re: Accumulator naming cross@spitfire.i.gajendra.net (Dan Cross) - 2026-07-30 23:48 +0000
Re: Accumulator naming John Levine <johnl@taugh.com> - 2026-07-31 01:31 +0000
Re: Accumulator naming cross@spitfire.i.gajendra.net (Dan Cross) - 2026-07-31 02:52 +0000
Re: Accumulator naming John Levine <johnl@taugh.com> - 2026-07-31 03:36 +0000
Re: Accumulator naming Lars Brinkhoff <lars.spam@nocrew.org> - 2026-07-31 13:40 +0000
Re: Accumulator naming Lars Brinkhoff <lars.spam@nocrew.org> - 2026-07-31 13:35 +0000
the Ten Heavenly Stems (was Re: Accumulator naming) Kragen Javier Sitaker <kragen@canonical.org> - 2026-09-11 16:07 -0300
Re: the Ten Heavenly Stems (was Re: Accumulator naming) Johann 'Myrkraverk' Oskarsson <johann@myrkraverk.invalid> - 2026-09-14 01:12 +0800
Re: the Ten Heavenly Stems (was Re: Accumulator naming) Kragen Javier Sitaker <kragen@canonical.org> - 2026-09-14 14:40 -0300
Re: the Ten Heavenly Stems (was Re: Accumulator naming) scott@slp53.sl.home (Scott Lurndal) - 2026-09-14 18:09 +0000
Re: the Ten Heavenly Stems (was Re: Accumulator naming) quadibloc@invalid.com (John Savard) - 2026-10-26 03:00 +0000
Re: Fizz Buzz "Kerr-Mudd, John" <admin@127.0.0.1> - 2026-08-21 13:27 +0100
csiph-web