Различия между версиями 2 и 3
Версия 2 от 2019-12-03 14:46:01
Размер: 751
Редактор: FrBrGeorge
Комментарий:
Версия 3 от 2019-12-06 10:12:07
Размер: 755
Редактор: FrBrGeorge
Комментарий:
Удаления помечены так. Добавления помечены так.
Строка 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)

HSE/ArchitectureASM/Lab_06_MathCoprocessor (последним исправлял пользователь FrBrGeorge 2019-12-06 10:12:07)