Example of Password program code in assembly language?
How to write the program un Assembly language to set a password for personal computers?
Program to additon of two 8 bit numbers with carry using 8086 microprocessor?
abe byahanchod delete nahi kar raha hu, answer kiske liye bacha ke rakha tha
What is the difference between operating system and applications?
The privilege level at which the program runs is one difference:
There are many other differences.
What is ax or accumulator register?
Accumulator is a general purpose register.it is a 8 bit register in 8085. it stores the temporary results of a current operation doing by 8085.it is also called 'A' register
You may have a gun on your person in order to protect you, your family, property or anything else.
What are the important signals Intel 8086?
The 8086 comes in a 40 pin package with 2 ground pins and one power pin; the remaining 37 signal pins every single one is important.
A 32 bit data bus can send out 4 bytes at a time and can take in 2^32 in addressable memory
What is minimum size of a segment in Intel 8086 Why?
In 8086 microprocessor the total memory addressing capability is 1 mega bytes. For representing 1 mb there are minimum 4 hex digits are required i.e, 20 bits. but 8086 has fourteen 16-bit registers. That is there are no registers for representing 20 bit address. So,the total memory is divided into 16 logical segments and each segment capacity is 64 kb(kilo bytes). That is 16*64kb=1 mb.So,for representing 64 kb only 16 bit register is sufficient. In 8086 microprocessor the total memory addressing capability is 1 mega bytes. For representing 1 mb there are minimum 4 hex digits are required i.e, 20 bits. but 8086 has fourteen 16-bit registers. That is there are no registers for representing 20 bit address. So,the total memory is divided into 16 logical segments and each segment size is 64 kb(kilo bytes). That is 16*64kb=1 mb.So,for representing 64 kb only 16 bit register is sufficient.
What is significance of 5.5 in RST5.5 interrupt?
Since The vectored Location of RST5.5 lie in Half the location of RST5 and RST6 so it is called RST 5.5(RST 5+1/2 )
Explanation:
Vector Interrrupt Vectored Location
RST 5 0028H
RST 5.5 002CH
RST 6 0030H
Now we add RST5 and RST6 vectored Location's
0028H + 0030H = 0058H
Now Devide The Sum by 2
0058H/2 = 002CH
Which is Vectored Location of RST 5.5.
This You can Check for All other vectored Interrupts TRAP(RST4.5), RST6.5, RST7.5
for 8085 Microprocessor
Thanks .............. S C Patidar
Goto start -> Run and type winmsd.exe. This will bring up system info page. If the string next to Processor is x86, its a 32 bit machine . If the string next to processor is ia64 or AMD64 then its a 64 bit machine.
Source: http://support.microsoft.com/kb/827218
cheers,
Esha
Write a program in 8086 assembly language to generate the factorial of given number?
Aim: - To write an assembly language program to find sum of cubes of given 'n' numbers.
1
2
3
4
5
6
7
8
9
MOV CL, NUM
MOV SUM, 00
L1: MOV AL, CL
MUL AL
MUL CL
ADD AL, SUM
MOV SUM, AL
LOOP L1
END
Result: Sum of cubes of first 'n' natural numbers is obtained.
a modified binary code in which sequential binary numbers are represented by expressions that differ only in one bit, to minimize errors.
What are MACROS in 8086 microprocessors?
Macro is a segment of code that needs to be written only once but whose basic structure can be repeated with each reference
Pin 36 on the 8085 is RESET-IN/. There is a bar (/) to indicate that this is a negative logic (low=true) pin. Typically, you connect an RC network to pin 36 (1uF to GND, 75KOhm to Vcc, and small signal diode (1N914) across the capacitor with anode on pin 36) which creates a reset pulse at Vcc power on. The diode is used to force discharge on power off, ensuring a reset sequence when power glitches.
When interrupts occur which registers are pushed and popped from the stack?
The registers that are pushed and popped from the stack during interrupt servicing depend on the processor architecture and whether or not a specific register is used by the service routine.
Automatically pushed and popped registers include the program counter, flags, and (often) the accumulator. Manually pushed and popped registers include any others that are used, i.e. modified, by the routine. Some programmers push and pop all registers, but that can be unnecessary and wasteful (of time) if some registers are not modified.
What is the purpose of addressing modes?
addressing modes helps the programmer to store or retrieve the data which is stored in any part of the data memory by addressing mode specified in the program.
What is the direction of information flow on the data bus?
The flow of information on the data bus is bi-directional. When status pin S1 is high, it is a read from IO or memory towards the CPU; when S1 is low, it is a write. S1 is present on the 8085. On the 8086/8088 it is inverted and combined with DT and called DT/R-
The source index (SI) register is required for some string (character) operations. In this context the SI is associated with the DS register. The destination index (DI) register is also required for some string operations. In this context the DI is associated with the ES register.
What is vector and non vector interrupts?
VECTOR INTERRUPT
If the interrupt is assigned to any predefined branching address to its ISR it is termed as vector interrupt.
NON VECTOR INTERRUPT
If the interrupt is not assigned to any predefined branching address to its ISR it is termed as non-vector interrupt.
PRIYAKRISH
2^32 is amount of blocks that address bus could locate. and each blocks is 64bit because data bus has 64 lines. then maximum number of bits stored in memory is (2^32)*64 bit.
By: Mohammad Saghafi
Email: mohammads1364@yahoo.com
Assembly language program in 8086 to check wether given string is palindrome or not?
data segment
strs db 'madam',0
strr db 5 dup(0)
data ends
code segment
assume cs:code,ds:data,es:data
start:mov ax,data
mov ds,ax
mov es,ax
mov cx,6
lea si,strs
lea di,strr
l1:mov al,strs[si]
mov strr[di],al
inc si
dec di
loop l1
mov cx,6
repe cmpsb
jz l3
mov bx,0000h
jmp l4
l3:mov bx,1111h
l4:int 3h
code ends
end start