Course Code : CS-64 Course Title : Introduction to Computer Organisation Assignment Number : BCA (4)-64/Assignment/ 2008 Maximum Marks : 25 Last Date of Submission : 30th April, 2008/30th October, 2008
Question 1:- i) convert the hexadicimal number ABCDEF to binary and octal.
ii) Perform the arithmatic operation (+28)+(-15) in binary using signed -2's complement representation for nagative numbers.
iii) Compare the static RAM and Dynamic RAM.
iv) Explain DMA controller with the help of a block diagram. What is meant by a block transfer ?
v) What is the difference between memory mapped Input / Output and peripheral mappaed Input / Output.
Ans:- i) First conversion of Hexadecimal number to binary number.
Each digits has a binary representation using four bits.
A = 1010
B = 1011
C = 1100
D = 1101
E = 1110
F = 1111
For conversion to binary just put the bits next to each other
Now conversion of Hexadecimal to octal number
Each digits has a octal representation
A = 12
B = 13
C = 14
D = 15
E = 16
F = 17
For conversion to octal just put the bits next to each other.
ii) Perform the arithmetic operation (+28)+(-15) in binary using signed -2's complement representation for negative numbers.
Signed value of (28) is 00111000
Signed value of (-15) is 10011110
Sum of the no. are 10010110
iii) Compare the static RAM with Dunamic RAM.
SRAM (static RAM). This type of memory maintains data in storage as long as it is powered. Because it is faster and more reliable and expensive than DRAM, SRAM is most often used as cache memory. Earlier forms of SRAM were classified as Async or Sync RAM if they were synchronized with the system clock. The most common type of SRAM today is pipeline burst SRAM, which can operate at higher bus speeds.
DRAM (dynamic RAM). This type of RAM retains its data by being continuously rewritten every few milliseconds. Like SRAM, the data in storage is volatile, meaning it is lost when the system is not powered. DRAM is the most common type of expandable company memory in workstations and servers today, but there are several different types of DRAM.
iv) Explain DMA controller with the help of a block diagram. What is meant by a block transfer?
Ans:- In DMA as the name suggest the memory can be accessed directly by i/o module. Thus overcome the drawback of programmed i/o and interrupt driven i/o where the CPU is responsible for extracting data from the memory for output & storing data in memory for input. DMA provids different information.
i) which operation (read/write) to be performed.
ii) The address of i/o device which is to be used. block transfer
The process, initiated by a single action of transferring one or more block of data.
Question 2:- i) Draw the 8086's internal configuration and explain the operation of its components.
ii) What are the advantages of using segment registers in the 8086 microprocessor?
iii) List the unconditional branch instructions in 8086 with example and explain.
For original fig search on block-3 page-10 (fig.3)
The 8086 CPU is divided into two independent functional units (Please refer to the above fig.)
1. The Bus Interface Unit, and
2. The Execution unit.
These two units function in parallel, thereby increasing the processing speed of the CPU,
1.Bus Interface unit :
The bus interface unit is the 8086's interface to the outside world. It provides a full 16-bit bidrectional data bus and 20-bit address. The bus interface unit is responsible for performing all external bus operations. Specially, it has the following functions :
operation fetch and storage
The BIU is also responsible for generating bus control signals such as those for memory read or write and I/O read or write. These signals are needed for control of the circuits in the memory and I/O systems.
2.Execution Unit :
The execution unit is responsible for decoding and executing all instructions. It consists of an ALU, status and control flags, eights general-purpose registers, temporary registers, and queue control logic.
The EU extracts instructions from the top of the queue in the BIU, decods then, generates operand addresses if necessary, passes them to BIU and request it to perform the read or write bus cycles to memory or I/O, and performs the operations specified by the instruction on the operands. During execution of the instruction, EU tests the status and control flags and update them based on the results of executing the instruction. If the queue is empty, the EU waits for the next instruction byte to fetched and shifted to the top of the queue.
When the EU executes a branch or jump instruction, it transfers control to a location corresponding to another set of sequential instructions. Whenever this happens, the BIU automatically resets the queue and then begins to fetch instructions from this new location to refill the queue.
Register Set :
The 8086 has four groups of user-accessible interval registers. They are
four data registers
four pointer and index registers
four segment registers.
They represent a total of thirteen 16-bit registers. In addition to these registers, there is another 16-bit register called the status register, with 9 of its bits implemented for status and control flags.
ii) Segment registers are used for accessing the segments. 8086 microprocessor organiges the momory as segment of sizes64Kb size. These segments are organized into four groups :
-- Code segment
-- Data segment
-- Stack segment
-- Extra segment
The segments code, data, stack and extra are pointed by the registers CS, DS, SS and ES respectively.
These registers are located in bus Interface Unit(BIU) of 8086 microprocessor.
These registers are used to store the 6-bit starting address of the four memory segment. This BIU generates 20 bit address using the address and the off set component of the address.
Hence physical address of 20 bit is generated by using starting address :- offset Combination.
Question 3:- i) Design a 16bit bus using registers and multiplexers and expalin its operations.
ii) Represent the number (64.6)10 as a floating point binary number with 24 bits. The normalized fraction mantissa has 16bits and the exponents has 8bits.
iii) Design a BCD counter that counts 0 to 0, 0000, 0001...1001, 0000. Explain its operation by means of a fourth table.
Question 4:- i) Write a program in 8086 assembly language to add two 16 digit packed BCD numbers.
Data segment source str db 51h,21h,20h,33h,40h,45h,32h,35h.
dest_str db //dub 35h”$”
Assume cs:code ,data:data
Packed nbcd 51h,23h,25h.
ASCII values 35h,31h,32h,33h,35h.
Mov ax ,data
Mov ds ,dx
Mov si offset source_str
Mov si offset dest _str
Loop start :
Mov al [sj]
Mov bl ,al
Str al ,4
Mov dest,of h
Add b1 ,30h
Loop loop start
ii) write a program in 8086 assembly language to do conversion of a 16 digit unpacked BCD number to a packed BCD number.
Value 1 db 15h
Value 2 db 10h
Assume cs: code,ds: data
Mov ax data
Mov ds ax
Mov al,value 1
Xchg value 2 ,al
Mov ax 4c ool
The last comments on this page:
Comment posted by euli3g( 2vhzrogmail.com ), 06/24/2017 at 1:21pm (UTC): <a href=http://invelevoria.com>invelevoria</a>
Comment posted by mont blanc pens( gqxctlmiimdgmail.com ), 01/07/2014 at 5:32pm (UTC): "'Watch that play to-day; you will discover young Gill in many of the close-ups where, under my direction, he brought out the psychological, the symbolic--if I may use the term--values of the great idea underlying our story. Even in these bits he revealed the fine artistry which he has since demonstrated more broadly under another director.
Comment posted by burberry scarf in outlets( qesrodrxgmail.com ), 01/06/2014 at 4:09am (UTC): carrying your laptop, it actually makes sense to make your
Comment posted by cheap beats by dre( jkfegmgngmail.com ), 01/05/2014 at 1:45am (UTC): Recieved this item before the day presented in a very good present box . Ones photo that's presented for the bracelet are exactly what you will definitely recieve. This is most fine yet any gorgeous piece of jewelry which will endure due iof on toggle clasp and that is most durable so that the bracelet eill not be removed.
Comment posted by buy pump( gfudxajlspjgmail.com ), 01/04/2014 at 10:29pm (UTC): I'd like to think about the probability of thanking you to your specialized guidance I've regularly enjoyed browsing your web page.
Comment posted by Moncler Outlet( xyrqkzhlcgmail.com ), 01/04/2014 at 5:31pm (UTC): I purchased such bracelets for the the mini grandchilren towards give to thier mothers.<br />Ones babes parents definitely adored these people and I is extremely impressed with these people for rate I paid.
Comment posted by Oakley Flak Jacket Sunglass cheap( lvmxuuyapwtgmail.com ), 01/02/2014 at 10:25pm (UTC): One could guess the whole drama from that little text. The curtain was up. It would not fall until the mastership of one party or the other was determined--and permanently:
Comment posted by wow gold( hamidraza.page.tlgmail.com ), 12/31/2013 at 10:14am (UTC): Everyone loves all of these wow gold! My partner and i have planned on getting most of these for the purpose of items old family member. He or she witout a doubt offers 1 wow gold not to mention would like them over too pieces!!! I recently discover she'll Really love these guys at least I really do! Maybe Soon we will be capable to take it a certain period? Wink Wink
Comment posted by burberry scarf outlet cashmere( munyhgyaogmail.com ), 12/24/2013 at 10:01am (UTC): the message that your company is responsible and is aware of
Comment posted by gamma blue 11s( hamidraza.page.tlgmail.com ), 11/21/2013 at 8:55pm (UTC): i acquired these gamma blue 11s for my birthday & they're incredible. its working out fantastic, i don't put anymore function into these gamma blue 11s than my other gamma blue 11s. i only cleanse them if they get dirty. if these are wet, i just wait for it to dry and then brush it out. superior !
Comment posted by louboutin uk( zibnxdifpgmail.com ), 11/16/2013 at 10:10am (UTC): Good day! I was interested to know if setting up a website such your own: is difficult to do for unskilled people? I have been hoping to develop my own blog for a while now but have been turned off because I've always believed it required tons of work. What do you think? Thank you
Comment posted by Reduce Weight Fruta Planta( lhtkkkwqgmail.com ), 11/12/2013 at 7:41pm (UTC): Even so, I like that you use these items for target and willpower, as opposed to the Reduce Weight Fruta Planta itself. Way more centered all around you, rather then your weight
Comment posted by toms outlet( tqhtotvpgmail.com ), 10/21/2013 at 2:16pm (UTC): I don't know whether it's just me or if everyone else experiencing problems with your site. It appears like some of the text in your content are running off the screen. Can somebody else please comment and let me know if this is happening to them as well? This may be a issue with my web browser because I've had this happen before. Appreciate it
Comment posted by christian louboutin replica( grxuhtxracxgmail.com ), 10/14/2013 at 7:27am (UTC): Hey just wanted to give you a brief heads up and let you know a few of the pictures aren't loading properly. I'm not sure why but I think its a linking issue. I've tried it in two different internet browsers and both show the same results.
Comment posted by christian louboutin shoes( bsrucuctgmail.com ), 09/25/2013 at 6:56am (UTC): Howdy! Do you know if they make any plugins to assist with SEO? I'm trying to get my blog to rank for some targeted keywords but I'm not seeing very good results. If you know of any please share. Many thanks!
Comment posted by louboutin outlet( rfgrtchwqrcgmail.com ), 09/22/2013 at 11:33am (UTC): I am really loving the theme/design of your website. Do you ever run into any browser compatibility issues? A small number of my blog audience have complained about my website not working correctly in Explorer but looks great in Firefox. Do you have any tips to help fix this issue?
Comment posted by botanical slimming soft gel( rsizonffagmail.com ), 06/20/2013 at 4:29pm (UTC): Hello it's me Fiona, I am also visiting this web site on a regular basis, this site is truly fastidious and the visitors are truly sharing nice thoughts.
Comment posted by Neverwinter astral diamonds( mbzrlpvaol.com ), 06/12/2013 at 10:04am (UTC): My husband and i developed to draw these kind of Neverwinter astral diamonds just about everywhere with the exception that effort. That they gazed good to the original period nonetheless typically the flap across the mouse folded away out and then the dog's fur was actually demonstrating to. It really is improbable to produce their flap maintain together however, you can't additionally watch the icon. But nevertheless, these are very good nevertheless i dreamed of a Neverwinter astral diamonds My husband and i observed on the idea on the spot, not really the approaches I obtained.
Comment posted by get backlinks( ljuytrscvqgmail.com ), 03/23/2013 at 4:32pm (UTC): I actually like these get backlinks .Hope this helps anybody interested.
Comment posted by link building( wzuvphzbzslgmail.com ), 03/22/2013 at 7:38pm (UTC): All these link building are really excellent!!! i really like these folks. freezing experienced my first of all set of two a couple weeks ago and the quick saying. i most certainly will absolutely spend money on even more!!!
Comment posted by genuine ugg boots( vrzbumgmail.com ), 11/20/2012 at 10:25am (UTC): Fail to consult your own enjoyment to not as happi when compared with all by yourself.
Add comment to this page:
You can help this website
by donate or
you can click an