In Assembly (Not C++)
DO NOT POST A HAND WRITTEN ANSWER, hand written answer = thumbs down!!!Post only working code.
--------
Put this array into your .data segment:intArray SWORD 0,0,0,0,1,20,35,-12,66,4,0
Write a program that scans the array, and stops scanning it when it finds the first nonzero elemnent in the array. Once the first nonzero element is found, store it in the AL register and call dumpregs to verify your answer.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here