Subscribe For Free Updates!

We'll not spam mate! We promise.

Thursday, 18 July 2013

List of relational database management systems

  List of relational database management systems 4th Dimension    Adabas D Apache Cassandra Apache Derby Aster Data Altibase BlackRay CA-Datacom Clarion Clustrix CSQL CUBRID Daffodil database DataEase Database Management Library Dataphor dBase Derby aka Java DB Alpha Five Empress Embedded Database EXASolution EnterpriseDB eXtremeDB FileMaker...

Saturday, 18 May 2013

Top 10 Online Shopping Sites in India – Best Indian Online Shopping Websites  (1) Flipkart.com .You can not only buy books online through Flipkart, but also mobile phones & mobile accessories, laptops, computer accessories, cameras, movies, music, televisions, refrigerators, air-conditioners, washing-machines, MP3 players and...

Tuesday, 14 May 2013

HTML5 Boilerplate The web's most popular front end template  helps u create fast,robust,adaptable apps or sites Download it here  DOWNLO...

Tuesday, 7 May 2013

William Stallings- Computer Organization and Architecture-(pdf)

William Stallings- Computer Organization and Architecture-(pdf...

Tuesday, 30 April 2013

15 Awesome Tutorial Websites !!

15 Awesome Tutorial Websites ! ! Here are 15 super-useful sites which aim to provide you with all the tutorials you'd ever need. How Stuff WorksHow Stuff Works is probably the best known How-to tutorials site. It has has a vast and diverse collection with topics ranging from food, health, computers, etc. One of the best things about...

Thursday, 25 April 2013

How to protect your computer against dangerous Java Applets ??????

How to protect your computer against dangerous Java Applets ??? Java exploits represent a common attack vector used by the bad guys to infiltrate vulnerable computers via the web browser. We wrote about the rise of Java exploits as early as 2010, and we haven't seen that trend decline. In fact, in the first quarter of 2013 alone, we've seen...

Architecture AwareProgramming onMulti-Core Systems issue in cache hierachry.... CLI...

Wednesday, 20 March 2013

Program to find factorial using 8051

Program to find factorial using 8051  : MOV R1,#04 MOV R0,#04 MOV A,R0CALL:DEC R0MOV F0,R0MUL ABDJNZ R1,CALL SJMP...

Tuesday, 19 March 2013

Program to generate 50msec delay

26. Program to generate 50msec delay: mov tmod,#01 ;select timer 0 here:mov tl0,#0fdh ;load tl0 with 0fdh mov th0,#4bh ;load th0 with 4bh cpl p1.5 ;compliment p1.5 acall delay ;call delay routine sjmp here ;jump to here delay:mov r1,#0c8h ;load r1 with data 0c8h l1:setb tr0 ;set bit tr0 again:jnb tf0,again ;repeat till tf0=0 clr tr0 ;clear tr0 clr...

Program to implement BCD counter to count from 99-0

25;Program to implement BCD counter to count from 99-0 : here:mov b,#99h ;move 99h to b up:mov a,b ;move data from b to a add a,#99h ;add 99h to a da a ;decimal adjust accumulator after addition mov b,a ;move data from b to a mov p0,a ;move data from a to p0 acall delay ;call delay routine mov a,b ;move data from b to a cjne a,#0ffh,up ;compare...

Program to implement BCD counter to count from 0-99

24. Program to implement BCD counter to count from 0-99 : here:mov a,#0h ;move 0 to a up:mov p0,a ;move data fr acall delay ;call delay program inc a ;increment a da a ;decimal adjust accumulator after addition cjne a,#100,up ;compare a with 100, if not equal, jump to location up sjmp here ;jump to location here delay routine delay:mov r1,#0ffh...

Program to count from 0-9

23. Program to count from 0-9 : here:mov a,#0h ;move 0 to a up:mov p0,a ;move data from a to port0 acall delay ;call delay routine add a,#01 ;increment a cjne a,#010,up ;compare a with 10, if not equal, jump to location up sjmp here ;jump to location here ;delay routine delay:mov r1,#0ffh ;move 0ffh to r1 l3:mov r2,#0ffh ;move 0ffh to r2 l2:mov...

Program to find the square of an 8 bit number

22.Program to find the square of an 8 bit number : mov dptr,#9000h ;load dptr with 9000h movx a,@dptr ;move data from external memory location to a mov b,a ;move data from a to b mul ab ;multiply and b inc dptr ;increment dptr mov r0,a ;move data from a to r0 mov a,b ;move data from b to a movx @dptr,a ;move data from a to external memory location inc...

Program to add two BCD numbers

21. Program to add two BCD numbers : mov dptr,#9000h ;move dptr with 9000h movx a,@dptr ; move data from external memory location to a mov b,a ;move data from a to b inc dptr ;increment dptr movx a,@dptr ; move data from external memory location to a add a,b ;add a and b da a ;decimal adjust accumulator after addition jc down ;if carry, jump to...

Program to check whether a 4th bit of a byte is 1, Store FFh if 1, else store 00 in

20. Program to check whether a 4th bit of a byte is 1, Store FFh if 1, else store 00 in : the same location mov dptr,#9000h movx a,@dptr ;move data from external memory location to a jnb 0e3h,down ;jump to location down, if 4th bit of a is set inc dptr ;increment dptr mov a,#0ffh ;move 0ffh to a movx @dptr,a ;move data from a to external memory...

Program to convert ASCII to hex

19. Program to convert ASCII to hex : ASCII codes 30 to 39 represent 0 to 9 in binary and 41 to 46 represent A to F. Therefore if the ASCII code is between 30-39h then 30h is subtracted from the code. If the number lies between A to F then 37h is subtracted from the code to get its binary equivalent mov dptr, #9000h ;load dptr with address 9000h movx...

Program to find largest of n numbers

18. Program to find largest of n numbers : mov r0,#10h ;move immediate data 10h to r0. mov a,@r0 ;move data from internal RAM location to a mov r2,a ;move data from a to r2 dec r2 ;decrement r2 inc r0 ;increment r0 mov a,@r0 ;move data from internal RAM location to a l2:push 0e0h ;save the content of a on stack inc r0 ;increment r0 subb a,@r0 ;subtract...

Program to count number of 1's in a given data byte

17. Program to count number of 1's in a given data byte : mov dptr,#9000h ;Load dptr with 9000h movx a,@dptr ;move data from external memory location to a mov r0,#0h ;load r0 with 0 mov r1,#8h ;load r1 with 8 clr c ;clear carry bit up:rlc a ;rotate a left through carry jnc next ;if no carry, jump to label next inc r0 ;increment r0 next:djnz r1,up...

Program to divide an 8 bit no by another 8 bit number

16. Program to divide an 8 bit no by another 8 bit number : mov r0,#26h ;load r0 with immediate data 26h mov a,@r0 ;load a with data from internal RAM location(dividend) inc r0 ;increment r0 mov b,@r0 ;move data from internal RAM location to b(divisor) div ab ;divide a by b inc r0 ;increment r0 mov @r0,a ;load internal RAM location with data from...

Program to sort an array of 10 elements

15. Program to sort an array of 10 elements : mov r3,#0ah ;load r3 with immediate data 0ah dec r3 ;decrement r3 start:mov a,r3 ;move data from r3 to a mov r0,a ;move data from a to r0 mov dptr,#9000h ;Load dptr with address 9000h l1:movx a,@dptr ;move data from external memory location to a mov r1,a ;move data from a to r1 inc dptr ;increment dptr movx...

Program to search an element in an array

14. Program to search an element in an array : mov r0,#05h ;Load r0 with immediate data 05h clr a ;clear a mov dptr,#9000h ;load dptr with address 9000h mov r1,#0ah ;load r1 with immediate data 0ah l1:mov a,#0h ;load a with 00 movc a,@a+dptr ;move data from code memory location to a mov r2,a ;move data from a to r2 inc dptr ;increment dptr dec r1...

Program to multiply 16 bit number by 8 bit number

13. Program to multiply 16 bit number by 8 bit number : mov r0,#11h ;load r0 with immediate data 11h mov r1,#22h ;load r1 with immediate data 22h mov r2,#33h ;load r2 with immediate data 33h clr c ;clear carry bit mov a,r0 ;move data from r0 to a mov b,r2 ;move data from r2 to b mul ab ;multiply and b mov dptr,#9000h ;Load dptr with 9000h movx @dptr,a...

Program to find the LCM of two numbers

 12. Program to find the LCM of two numbers : mov dptr,#9000h ;Load dptr with immediate data 9000hmovx a,@dptr ;move data from external memory location to a mov r0,a ;move data from a to r0mov b,r0 ;move data from r0 to binc dptr ;increment dptrmovx a,@dptr ; move data from external memory location to amov r2,a ;move data from a to r2l2:push...

Program to interchange two blocks of data

11. Program to interchange two blocks of data : mov dptr,#9000h ;Load 9000h into dptr register mov r0,#04h ;Move immediate data 04 to r0 mov r1,#90h ;move immediate data 90h to r1 mov r2,#91h ;move immediate data 91h to r2 back:movx a,@dptr ;move data from external memory location to a mov r3,a ;move data from a to r3 mov dph,r2 ;move data from...

Program to convert an 8bit Hex number to decimal number

10. Program to convert an 8bit Hex number to decimal number : mov dptr,#9000h ;Load 9000h into dptr register movx a,@dptr ;move data from external memory location to a mov r2,a ;move data from a to r2 clr c ;clear carry bit subb a,#0ah ;subtract with borrow, 0ah from a jc over ;if carry, jump to label over mov a,r2 ;move data from r2 to a subb a,#064h...

Program to convert hex number to ASCII number

9.Program to convert hex number to ASCII number : mov dptr,#9000h ; Load dptr with immediate data 9005h movx a,@dptr ; Load dptr with immediate data 9005h clr c ;clear carry bit subb a,#0ah ;subtract with borrow, 0ah from movx a,@dptr ; move data from external memory location to a jc down ;if carry, jump to label down add a,#07h ;add 07 to a down:add...

Program to find the GCF of two numbers

8.Program to find the GCF of two numbers : mov dptr,#9000h ;Load 9000h into dptr register movx a,@dptr ; move data from external memory location to a mov b,a ; move data from a to b inc dptr ;increment dptr movx a,@dptr ; move data from external memory location to a back:mov r1,b ;move data from b to r1 div ab ;divide a by b mov a,b ;move data from...

Program to generate Fibonacci series

7. Program to generate Fibonacci series : mov r1,#0ah ;Load r1 with immediate data 0ah mov dptr,#9000h ;load 9000h into dptr register movx a,@dptr ; move data from external memory location to a inc dptr ;increment dptr mov r0,a ;move data from a to r0 movx a,@dptr ; move data from external memory location to a back:mov r2,a ;move data from a to...

6. Program to convert a decimal number to hex number : mov dptr,#9000h ; Load 9000h into dptr register movx a,@dptr ; move data from external memory location to a mov r2,a ;move data from r2 to a clr c ;clear carry bit subb a,#0ah ;subtract with borrow, 0ah from a jc over ;if carry, jump to label over mov a,r2 ;move data from r2 to a anl a,#0f0h...

To transfer a block of data from one memory location to another

5. To transfer a block of data from one memory location to another : mov r2,#0ah ;Load r2 with immediate data 05h mov dptr,#9000h ;Load 9000h into dptr register mov r0,#0a0h ;Load r0 with immediate data 0a0h mov r1,#00h ;Load r1 with immediate data 00h mov a,#0h ; Load a with immediate data 00h up:movx a,@dptr ;move data from external memory to...

Program to find the average of 10 numbers

 4: Program to find the average of 10 numbers: mov dptr,#9000h ;Load 9000h into dptr register clr a ;Clear a register mov 0f0h,a ;move data from a to b mov r1,#05h ;move 05 to r1 register up: movx a,@dptr ; ;move data from external memory location to a add a,0f0h ;add a and b mov 0f0h,a ;move the result to b dec r1 ;decrement r1 inc dptr ;increment...

3: ASCII to BCD conversion: To convert ASCII to packed BCD, it is first converted to unpacked BCD(to mask 3) and then combined to make packed BCD. For example, for 4 and 5 the keyboard gives 34 and 35, respectively. The goal is to produce 45h, which is packed BCD. ;ASCII to packed BCD conversion mov r0,#10h ;R0=10h,Internal memory adress mov a,@r0...

Program to convert a BCD number to ASCII

2. Program to convert a BCD number to ASCII using 8051 : To convert packed BCD to ASCII, it must first be converted to to unpacked BCD. Then the unpacked BCD is tagged with 30h. mov dptr,#9000h ;Load 9000h into dptr register movx a,@dptr ;Move the content of location 9000h to a mov r2,a ;Move the data from a to r2 anl a,#0f0h ;And a with 0f0h swap...

Program to add two multibyte numbers

8051 MICROCONTROLLER Programs: 1.Program to add two multibyte numbers using 8051 . mov r4,#0h ;move 00 to r4 mov r3,#0h ;move 00 to r3 mov dptr,#9000h ; Load 9000h into dptr register movx a,@dptr ;move the data from memory location to a register mov r0,a ;move the data from a to r0 inc dptr ;increment dptr movx a,@dptr ;move the data from...