Sign up with your email address to be the first to know about new products, VIP offers, blog features & more.

 




Bootstrap 4 Releases Its First Beta – Find what’s new?

Bootstrap CSS has just released its first beta release of the new version Bootstrap 4 codebase.

Two years in the making, we finally have our first beta release of Bootstrap 4. In that time, we’ve broken all the things at least twenty-seven times over with nearly 5,000 commits, 650+ files changed, 67,000 lines added, and 82,000 lines deleted. We also shipped six major alpha releases, a trio of official Themes, and even a job board for good measure. Put simply? It’s about time.

share

Introduction to Assembly Language with Examples

Assembly programming language is a language closer to what machines can understand. Assembly language is an example of low level language. In an assembly language, each machine language instruction is assigned a code. So, instead of having to remember a string of 0’s and 1’s, the programmer would only need to remember short codes like ADD, SUB, DIV, JMP, MOV, HALT, GO called mnemonics.

share

Assembly language program to count the number of 1’s in a byte stored in memory location 2000H

Write an assembly language program to count the number of 1’s in a byte stored in memory location 2000H.
Algorithm:

Step 1: Point to memory location 2000H

Step 2: Load register A (Accumulator) with the content of memory location

Step 3: Set a counter to loop through each bits of number, Say C

Step 4: Set a counter to store the number of one’s (1’s) in the byte, Say B

Step 5: Rotate the content of accumulator to left through carry

Step 6: If no carry found from Step 5 then jump to Step 8

Step 7: Else increase the counter B by one (if carry found)

Step 8: Decrease counter C by one

Step 9: Until the value at counter C is 0 repeat from Step 5

Step 10: Terminate the program.

share