751
Комментарий:
|
← Версия 3 от 2019-12-06 10:12:07 ⇥
755
|
Удаления помечены так. | Добавления помечены так. |
Строка 1: | Строка 1: |
= Mathematical coprocessor C0 = | = 06. Mathematical coprocessor C0 = |
06. Mathematical coprocessor C0
- Floating-point subroutine conventions: $f12 … $f15 — parameters, $f0 — return value
- what if more? stack or memory or more registers
scale subroutine: A, B, a, b, X → x: A≤X≤B -> proportional a≤x≤b
- draw subroutine: n, c: print n spaces, then character c
- graph subroutine: a, b, width, height: draw transponed graphic of some formula f(x) from a to b like this:
f(a) * * * * * * * * * * * * * * f(b) ("height" lines/"width" max width)