Write an ALP to find positive and negative numbers from a given array
Answers
Answered by
2
Answer:
section .data
nline db 10,10
nline_len: equ $-nline
arr32 dd -11111111H, 22222222H, -33333333H, 44444444H, 55555555H
n: equ 5
pmsg db 10,10,”The no. of Positive elements in 32-bit array : ”
pmsg_len: equ $-pmsg
nmsg db 10,10,”The no. of Negative elements in 32-bit array : ”
nmsg_len: equ $-nmsg
Similar questions