Click here to Skip to main content
15,904,652 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionfilling memory with a pattern Pin
DQNOK10-Oct-07 11:00
professionalDQNOK10-Oct-07 11:00 
QuestionRe: filling memory with a pattern Pin
David Crow11-Oct-07 3:28
David Crow11-Oct-07 3:28 
AnswerRe: filling memory with a pattern Pin
DQNOK11-Oct-07 3:44
professionalDQNOK11-Oct-07 3:44 
GeneralRe: filling memory with a pattern Pin
David Crow11-Oct-07 3:52
David Crow11-Oct-07 3:52 
GeneralRe: filling memory with a pattern Pin
DQNOK11-Oct-07 7:06
professionalDQNOK11-Oct-07 7:06 
GeneralRe: filling memory with a pattern Pin
David Crow11-Oct-07 7:21
David Crow11-Oct-07 7:21 
GeneralRe: filling memory with a pattern Pin
DQNOK11-Oct-07 7:25
professionalDQNOK11-Oct-07 7:25 
AnswerRe: filling memory with a pattern Pin
Scott Dorman11-Oct-07 8:10
professionalScott Dorman11-Oct-07 8:10 
Well, probably not the answer you were looking for but if you really want to do this in the most efficient way possible you are going to need to use assembly language and take advantage of the chip specific instructions. I have done this before for some built-in-self-tests for embedded hardware where the timing requirements were that all of the tests had to complete in under 1 clock cycle.


Scott.

—In just two days, tomorrow will be yesterday.

[Forum Guidelines] [Articles] [Blog]

GeneralRe: filling memory with a pattern Pin
DQNOK11-Oct-07 8:30
professionalDQNOK11-Oct-07 8:30 
GeneralRe: filling memory with a pattern Pin
Scott Dorman11-Oct-07 8:41
professionalScott Dorman11-Oct-07 8:41 
GeneralRe: filling memory with a pattern Pin
DQNOK11-Oct-07 8:51
professionalDQNOK11-Oct-07 8:51 
GeneralRe: filling memory with a pattern Pin
Scott Dorman11-Oct-07 9:15
professionalScott Dorman11-Oct-07 9:15 
GeneralRe: filling memory with a pattern Pin
DQNOK11-Oct-07 9:43
professionalDQNOK11-Oct-07 9:43 
GeneralRe: filling memory with a pattern Pin
Scott Dorman11-Oct-07 9:45
professionalScott Dorman11-Oct-07 9:45 
QuestionChange the size of the scrollbar, getsystemmetrics [modified] Pin
tortexy10-Oct-07 7:36
tortexy10-Oct-07 7:36 
AnswerRe: Change the size of the scrollbar, getsystemmetrics Pin
Mark Salsbery10-Oct-07 7:48
Mark Salsbery10-Oct-07 7:48 
GeneralRe: Change the size of the scrollbar, getsystemmetrics Pin
tortexy10-Oct-07 7:53
tortexy10-Oct-07 7:53 
GeneralRe: Change the size of the scrollbar, getsystemmetrics Pin
Mark Salsbery10-Oct-07 10:15
Mark Salsbery10-Oct-07 10:15 
GeneralRe: Change the size of the scrollbar, getsystemmetrics Pin
tortexy11-Oct-07 2:33
tortexy11-Oct-07 2:33 
QuestionMIDI...DIRECT MUSIC...VISUAL C++...WINDOWS VISTA Pin
Rance_Wilson10-Oct-07 5:41
Rance_Wilson10-Oct-07 5:41 
Questionvc 2005 CDatabase compile error Pin
ns10-Oct-07 5:21
ns10-Oct-07 5:21 
AnswerRe: vc 2005 CDatabase compile error Pin
Mark Salsbery10-Oct-07 5:35
Mark Salsbery10-Oct-07 5:35 
GeneralRe: vc 2005 CDatabase compile error Pin
ns10-Oct-07 5:43
ns10-Oct-07 5:43 
AnswerRe: vc 2005 CDatabase compile error Pin
David Crow10-Oct-07 8:36
David Crow10-Oct-07 8:36 
AnswerRe: rebase and memory allocation Pin
Nemanja Trifunovic10-Oct-07 7:41
Nemanja Trifunovic10-Oct-07 7:41 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.