discussion forum



message

Name: unknown
Date: March 17, 2004 at 15:02:43
Subject: Re: please email program to me . can anyone improve this program
In Reply To: please email program to me . can anyone improve this program by
bob on March 16, 2004 at 19:54:08
Text: | now encapsulate this procedure into a single assembly language instruction called bcp (block copy). Since this instruction is somewhat complex to do in hardware, it will be implemented with a microprogram.
| The format of the bcp instruction will be: bcp rs, rd, rt, where rs contains the address of the first word of the source to be copied, rd contains the address of the first word of the destination block and rt contains the number of words to be copied. Although this has the format of a register word, there will be extensive memory activity in copying the data. You may assume that the bcp instruction has already been fetched and decoded by a microprogram

mov esi,rs
mov edi,rd
mov ecx,rt
rep movsw




post a followup message
(Be nice... or be blocked. Be technical... or be erased.)

Name: optional link title:
eMail: optional link URL:
Subject: optional image URL:
  Insert line breaks by hand when only about one inch remains at the right side. Otherwise your message will be unreadable.
Text:
 

  Note: The above eMail form fields may look unaligned if you are using a browser other than Netscape Navigator version 3.0.



currently posted followup messages
(You may have to press the RELOAD button of your browser.)




main page