Elektrine lite

← Feed

@guenther@bsd.network

Post #1778298

2026-04-22 06:15 UTC

@miodvallat Man, that last bit makes me wish cpus (with variable length instructions) had two instruction pointers, current and next, or something. Three would be cooler, but I’m not sure what to make the third mean…

Replies (1)

  • @miodvallat@hostux.social 2026-04-22 06:16

    @guenther Yes, that would have been addressing this much easier. As for the third pointer, that's easy: it points to the first non-bogus instruction in the program. Writes are ignored, and upon read, its value is UNPREDICTABLE.

    Open ##1778299