Qualcomm Interview Question

Write a program using assembly instructions