Другие языки программирования и технологии

Помогите написать текст программы.

Дано выражение (2*с/d+2)/(d-a*a-1) Нужно написать текст программы в Assembler'e Очень нужно)
format PE console
entry N167112000
include "win32a.inc"

section ".code" code readable executable
N167112000:
    cinvoke printf, Prompt
    cinvoke scanf, fInput, A
    add byte [Prompt + 8], 2
    cinvoke printf, Prompt
    cinvoke scanf, fInput, C
    inc byte [Prompt + 8]
    cinvoke printf, Prompt
    cinvoke scanf, fInput, D
    finit
    sub esp, 4
    push 2
    mov ebp, esp
    fild dword [ebp]
    fmul [C]
    fdiv [D]
    fiadd dword [ebp]
    fld [D]
    fld [A]
    fmul [A]
    fsubp
    fld1
    fsubp
    fdivp
    fstp qword [ebp]
    cinvoke printf, Result
    add esp, 8

    cinvoke getch
    cinvoke exit, 0

section ".data" data readable writeable
  Prompt db "Введите A: ", 0
  Result db "Ответ: %f", 13, 10, 10,\
      "Для завершения работы нажмите любую клавишу... ", 0
  fInput db "%lf", 0

section ".bss" data readable writeable
A rq 1
C rq 1
D rq 1

section ".idata" import data readable
library msvcrt, "msvcrt.dll"
import msvcrt, getch, "_getch", printf, "printf",\
    scanf, "scanf", exit, "_exit"

БК
Болат Касымбек
51 590
Лучший ответ
1500 за работу.
Nauryzbai Kantaev
Nauryzbai Kantaev
54 409