Copy Buffer1 to Buffer2 in Intel 586 ASM: Beginner's Guide

  • Thread starter Thread starter liahow
  • Start date Start date
AI Thread Summary
To copy string contents from one buffer to another in assembly language on an Intel 586 architecture without using string functions, one can utilize basic instructions like MOV to transfer data byte by byte. The discussion highlights the importance of understanding the difference between real mode and protected mode in assembly programming. Real mode operates with a memory limit of 1MB, while protected mode allows access to a larger memory space, up to 4GB. This distinction is noted as a factor in the differences observed between DOS in Windows XP and Windows 95, as the latter primarily operated in real mode, impacting memory management and functionality.
liahow
Messages
6
Reaction score
0
In assembly language (on at least an Intel 586 arch) how would I copy the string contents of one buffer to another without using any string functions for copying? I want to copy the contents from buffer1 to buffer2. I'm just beginning to learn how to code in assembly language, so I'm completely lost!
 
Technology news on Phys.org
Are you doing real or protected mode assembly?
 
I was wondering, is it the real mode and protected mode difference that makes the current DOS in windows XP seem different to the DOS in windows 95? I know that real mode is limited to 1mb and protected is something like 4gb.
 
Thread 'Is this public key encryption?'
I've tried to intuit public key encryption but never quite managed. But this seems to wrap it up in a bow. This seems to be a very elegant way of transmitting a message publicly that only the sender and receiver can decipher. Is this how PKE works? No, it cant be. In the above case, the requester knows the target's "secret" key - because they have his ID, and therefore knows his birthdate.
I tried a web search "the loss of programming ", and found an article saying that all aspects of writing, developing, and testing software programs will one day all be handled through artificial intelligence. One must wonder then, who is responsible. WHO is responsible for any problems, bugs, deficiencies, or whatever malfunctions which the programs make their users endure? Things may work wrong however the "wrong" happens. AI needs to fix the problems for the users. Any way to...
Back
Top