Dear sir,
i am really beginner of assembly low level language. so, please help me.
how to program this example.
program to evaluates 4*(x^2)+3x+7 if flag==1 or evaluates 9x+3 if flag==0. assume x is a 16 bits unsigned integer.

Sir, i am not doing my home work, please try understand. actually i want to learn assembly language. im not talking about c programing! i can do that in c programing. my question is depend on low level assembly language.
anyway thank you for your answer.

Dear sir,
i am really beginner of assembly low level language. so, please help me.
how to program this example.
program to evaluates 4*(x^2)+3x+7 if flag==1 or evaluates 9x+3 if flag==0. assume x is a 16 bits unsigned integer.

waiting your prompt.
bir

mov flag,cl
cmp cl,1
jne a
mov ax,x
push ax
mul ax //x^2
mul 4 //4*(x^2)
pop bx
push ax
mov ax,bx
mul 3 (3x)
push bx // bx=4*(x^2)
add ax,bx
add ax,7
jmp end
a:
mov ax,x
mul 9
add,ax,3

Write a C program that should create a 10 element array of random integers (0 to 9). The program should total all of the numbers in the odd positions of the array and compare them with the total of the numbers in the even positions of the array and indicate ...

Hi. so this is actually a continuation from another question of mineHere but i was advised to start a new thread as the original question was already answered.

This is the result of previous question answered :

I have a 2d matrix with dimension (3, n) called A, I want to calculate the normalization and cross product of two arrays (b,z) (see the code please) for each column (for the first column, then the second one and so on).
the function that I created to find the ...