Embed presentation
Download as ODP, PPTX











This document contains the assembly language code for an 8051 microcontroller to generate various numeric series: 1. The first program generates the first 10 even numbers by incrementing a register and testing the least significant bit to check for evenness. 2. The second program generates the first 10 odd numbers using a similar approach but tests for oddness instead of evenness. 3. The third program generates the first 10 square numbers by incrementing a register and multiplying it by itself to calculate each square. 4. The fourth program generates the first 10 cube numbers by incrementing a register and multiplying it by itself twice to calculate each cube. 5. The final program generates the Fibonacci series by









