adambard / adambard/learnxinyminutes-docs

[MIPS/en] MIPS documentation and use of branch instructions is incorrect

Offen
#4,865 0 Kommentare 1 Reaktion 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Markdown
Sterne
12.3k
Forks
3.7k
Ø Merge
13 Std. 10 Min.
Gemergte PRs (30 T.)
6

Beschreibung

Unlike many common ISAs, MIPS has a [branch delay slot](https://en.wikipedia.org/wiki/Delay_slot#Branch_delay_slots) (see [this blog post](https://devblogs.microsoft.com/oldnewthing/20180411-00/?p=98485) for a better explanation in a MIPS specific context).

The MIPS docs omits any mention of branch delay slots, and the MIPS example code is written as if the branch delay slot didn't exist. This makes the example code very misleading (and, needless to say, incorrect).

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.