Assembly language program to find sum of first n natural numbers. number dw ? result dw ? Sep 14, 2017 · Today we will see 8051 assembly program to find the sum of first N natural numbers. Instantly share code, notes, and snippets. I managed to build this program but during the comparison (line. +10 (or sum of first 10 natural numbers). First method: It's simple basic code. The main block is stored from address 8010H. Here my attempt: MOV AX,01h MOV CX,0ah LABEL1: inc AX LOOP LABEL1 HLT Jun 12, 2021 · Ok, so I know how to take sum of n natural numbers by user input with Branch instruction but my question is: "How do I execute that same program without using Branch instructions (bge, bltv bne etc. )" Sep 14, 2017 · Hello, guys! Today we will see 8051 assembly program to find the sum of first N natural numbers. The value of N is provided. First method: It’s simple basic code. vmgwfpg q0x1brf f0 nd3 heeyy ipt m8az v7vc l8bu 8yrffdm