Google Authenticator – The Saviour

I don’t know how many of you are aware of this awesome 2-step security measure. I’m talking about Google Authenticator, an application that enables a 2-step signing for various web services like WordPress. Generally, you got to sign in by just entering your ID or the Username & a Password. This is the most common way of all the web services. Now what the 2-step verification does … Continue reading Google Authenticator – The Saviour

Square root of a number (Assembly Language)

; Program to compute squareroot of a number DATA SEGMENT ;INITIALIZE DATA SEGMENT NUM1 DD 125.0 ;INTIALIZE NUM1 ANY DATA. ;WHEN DATA DOUBLE IS DEFINED, DEFINE THE NUMBER WITH DECIMAL RES DD ? ;INITIALIZE RES DATA ENDS ;END OF DATA SEGMENT CODE SEGMENT ;INITIALIZE CODE SEGMENT START: ;START THE CODE ASSUME CS:CODE,DS:DATA ;ASSUMPTION OF CODE AND DATA MOV AX,DATA ;MOVE DATA INTO ACCUMULATOR AX REGISTER … Continue reading Square root of a number (Assembly Language)

Palindrome or Not (Assembly Language)

; Program to check if the given string is a palindrome or not DATA SEGMENT ;INITIALIZE THE DATA SEGMENT STR1 DB “NITIN” ;INITIALIZE THE STRING STR2 DB 5 DUP(?) ;INITIALIZE AN EMPTY STRING OF SAME STRING TO DUPLICATE IT PAL DB 0 ;INITIALIZE PAL AS A FLAG COUNT DW 5 ;INITIALIZE COUNT EQUAL TO STRING LENGHT DATA ENDS ;END OF DATA SEGMENT CODE SEGMENT ;INITIALIZE … Continue reading Palindrome or Not (Assembly Language)

Hypotenuse of a number (Assembly Language)

; Program to compute hypotenuse of a number DATA SEGMENT ;INITIALIZE DATA SEGMENT NUM1 DD 4.0 ;INTIALIZE NUM1 ANY DATA. ;WHEN DATA DOUBLE IS DEFINED, DEFINE THE NUMBER WITH DECIMAL NUM2 DD 3.0 ;INTIALIZE NUM1 ANY DATA. ;WHEN DATA DOUBLE IS DEFINED, DEFINE THE NUMBER WITH DECIMAL RES DD ? ;INITIALIZE RES DATA ENDS ;END OF DATA SEGMENT CODE SEGMENT ;INITIALIZE CODE SEGMENT START: ;START … Continue reading Hypotenuse of a number (Assembly Language)