Sooooo we can just post anything logical, appropriate, and so on that we want to this forum and have it show up?
Search found 4 matches
Search found 4 matches • Page 1 of 1
- Sat Aug 29, 2009 8:28 pm
- Forum: News Discussion
- Topic: something that we lost...
- Replies: 8
- Views: 31352
There is no standard instruction for accessing eip. If an assembler allows access, it is a nonstandard extension. (Of course, there are standard 'tricks' that can be used to write or read eip.)
Such as "push eip; pop eax" or "call geteip; geteip: pop eax" etc.
- Sun Dec 16, 2007 2:51 am
- Forum: Beginning OS Development
- Topic: puts() using asm
- Replies: 1
- Views: 6109
Hi guys, I've been studying Demo 5 a lot, and I was thinking we could implement <tt>puts()</tt> using inline assembly. At the beginning of <tt>kmain()</tt>, there would be asm that defines the <tt>Print</tt> macro for printing the string. Then there would be the <tt>puts()</tt> function itself. It w...