复制以上的程序以创建如列表8所示的方法。
Copy the above program to create the method shown in Listing 8.
而且它们都是按四字节对齐的以便能够将其复制进您的主程序并在 DMA 传输时使用值。
These all need to be quadword aligned, so that you can copy it into your main program and use the values with DMA transfers.
对于每一个版本我们以复制相同的程序结束,如图5所示。
We ended up with duplicating the same application for each release, as Figure 5 shows.
It's only copying the address that was returned by get string so even though conceptually is the name this program suggests, I really just want to make a copy so that maybe I can make one version of D-A-V-I-D or F-O-O all uppercase or all lowercase or I want to spell check, something.
而只是复制GetSting返回的地址,虽然这个程序表示的名称,我只想做一个拷贝,以便我可以做一个D-A-V-I-D或者F-O-O的版本,大写的或者小写的,或者拼写检查之类的。
I mean what if you're running so many things, what if the user has copied and pasted their thesis and just pasted it at the blinking prompt such that you're now out of memory because your computer is somewhat limited in memory so get string cannot possibly return all those characters or fit all of those characters in memory and return to you the address of the first.
如果你运行了很多程序,假使用户复制粘贴了他们的论文,只是粘贴在光标提示符那里,这样就出现了内存不足,因为你们的计算机的内存是有限的,所以GetString不可能返回所有的字符,或者保存这些字符到内存中,并且返回第一个字符的地址。
应用推荐