Write a program using 8086 instructions to double a number?
There isn't a reason to write a complete program to do this; in any assembly language just shift the value 1 bit to the left to double it.
Use their name - they're just like any othe teacher. Most head's don't like extra special attention.
I'm a Deputy headmaster
a.
Logical address will have
3 bits to specify the page number (for 8 pages) .
10 bits to specify the offset into each page (210 =1024 words) = 13 bits.
b.
For (25) 11 32 frames of 1024 words each (Page size = Frame size)
We have 5 + 10 = 15 bits.
Write a program in 8086 assembly language to draw a circle?
You need an 8086 assembly language pencil.
What is higher order address of a 16 bit address?
In the 8085, the high order address is A8-A15. In the 8086/8088, the high order address is A8-A19. (For a 16-bit address, the answer is A8-A15, but the answer above reflects the chosen categories, 8085 and 8086/8088, with the 8086/8088 running in 20-bit mode.) In Windows XP, running in 32-bit mode, the high order address is A8-A31, a 32 bit address.
What is the specific purpose of hl register?
HL is a general purpose 16 bit register. It is also the address in memory of the M register.
Are there any disadvantages of using a 20 bit address line in 8086 microprocessor?
There are two primary disadvantages to a 20 bit address.
20 bits, i.e. 1MB, is not a lot of memory, and you can not, today, do a lot of work with it. In fact, the original DOS memory model only provided 640KB of addressible space, of which around 500KB to 600KB, depending on configuration, was truly user space.
The biggest disadvantage is that, with the segmented architecture of the 8086/8088, you can only address 64KB of data with one instruction. This is due to the 16 bit architecture, and due to the fact that you had to reload a segment register (a second instruction) in order to address any arbitrary byte in memory.
What is the SP pointing register's default memory segment?
The default segment for SP (Stack Pointer) relative memory accesses in the 8086/8088 is SS (Stack Segment).
The universal shift register is a type of sequential logic circuit that is used for the storage or transfer of data in the form of binary numbers and then "shifts" the data out once every clock cycle.
What is meaning 16 bit machine?
A 16 bit computer is one where the internal registers in the computer's CPU are made from 16 wires in parallel.
Computer registers, in the main, started with 8bits, grew to 16 bits, then to 32 bits and now are mainly 64 bits wide. You need an operating system 'made' for each 'bit' size. For instance Microsoft's Windows 7 operating system is currently available in both 32 and 64 bit versions.
The more the bits available the larger the value of an integer number that can be processed by the CUP in a single clock cycle.
What is meant by effective address in microprocessor?
Effective address is the final address generated by offsetting and indexing which is sent to the virtual translation logic. It is the address of the operand in the virtual address space of the process, but not necessarily the address of the operand in the physical address space of the computer.
In the 8085, efffective/virtual address is the same as physical address, because there is no virtual addressing logic in the 8085. In the 8086/8088, effective/virtual address is the same as physical address, but only in real mode.
For example, in the 8086/8088, if the EBX register contains 1000000H, then the instruction MOV EAX,[EBX+1234H] has an effective address of 10001234H.
Why insert operation in stack called as push operation?
Consider an array used as a stack. Align this array vertically. When an element is inserted into the stack, it is pushed all the way down despite the space availability at the top. Hence it is called push operation. Here's an illustration:
Stack initially:
|_|
|_|
|_|
|5|
Stack after the insertion of 6:
|_|
|_|
|6| - element pushed down as much as possible
|5|
Can you explain to you the OSPF?
Open Shortest Path First (OSPF) is a type of routing protocol known as an interior gateway protocol or an interior routing protocol. The routers in an internet are responsible for receiving and forwarding packets through the interconnected set of networks. Each router makes routing decisions based on knowledge of the topology and traffic/delay conditions of the internet. The routing protocol between routers is used to exchange topology and traffic delay information. An interior routing protocol is used within a portion of the internet called an autonomous system, which simply means a connected set of routers that are managed by a single organization. OSPF is the most commonly used interior routing protocol.
How many clock pulses are occur in one Wait state?
One clock pulse occurs in each TWait state. The number of TWait states that are inserted depends on how long it takes for READY to go true.
What is the contents of the stack pointer after the execution of the call instruction?
On a near call, the stack pointer is 2 less than its original value. On a far call, it is 4 less.
An offset address is a relative address rather than an absolute address. You use offsets to refer to memory relative to an absolute address. For instance, array indices are implemented using offsets from the start address of the array, such that element 0 is at offset 0 and element 5 is at offset 5.