Samsung Electronics Interview Question

Logic assembly code question .