Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. redwing26

    how do I span an asm array over multiple lines to make it neat?

    I really read heaps on the web but the examples only covered putting 2 or 3 string values in an array .......I want it to span multiple lines for readability e.g scodes db "q", "w", "e", "r", "t", "y", "u", "i", "7", "8", "9", "0", "-", "=", 0 , 0 , "q", "w", "e", "r", "t", "y"...
  2. redwing26

    extremely infuriating piece of code

    no probs folks thanks alot for the help I was so frustrated spent 2 days but I hadnt initialised bp properly also in my latest version . I have got it fixed now thanks for all the replies
  3. redwing26

    extremely infuriating piece of code

    Hi that code assembles but doesnt work unfortunately , Ive cut my code back is this problem is driving me crazy , Ive took every call out the program and all the code i have now is begin: mov ax, cs mov ds, ax cli mov ss, ax mov sp, 0xfffe sti mov bp,sp...
  4. redwing26

    extremely infuriating piece of code

    Hi I am using asm and I was able to get stuff of my stack a very round about way by first putting the value of the stack into a register e.g cx then doing mov al,cl then calling int 10 to display the hex value ascii code letter. Anyway I wanted to make it so I did mov al,[bp+4] int 10h but it...
  5. redwing26

    how do I get text at the top left of a cleared screen with asm?

    Hi folks, I am really enjoying asm and making my own crapy os but I have really been struggling with this aspect so thank you very much all. I will give all those suggestions a try. I plan to use memmory mapped io at some point if anyone knows any sites of how I can use it to handle keyboard...
  6. redwing26

    how do I get text at the top left of a cleared screen with asm?

    I scroll up the screen in nasm using into 10,6 to clear it I then want to print ZeonOS ReadyFI ^^at the top left of the cleared section of the screen, what happens in reality is the screen clears but the text appears half way down the cleared section of the screen e.g --------cleared area...
  7. redwing26

    how do I write a text input driver on my x86 console OS

    Hi I have been reading assembly books like nothing else, I have a reasnable experience with c. At present I have made a bootsector on a floppy disk, this reads a file loader.bin (assembled via nasmw). Loader.bin is whats going to be the console os , I have followed a guide at the following page...
  8. redwing26

    seperator error in windows .mak file

    Thanks very much problem solved ))
  9. redwing26

    need help with segment addressing

    Thanks lionellhill, Yeah the book is a bit old , it is windows assembly language programming by Barry Kauler. It starts of dealing with 16bit then deals with 32 bit later ). It is old but even though its to do with asemblyt I feel I know understand alot more in c direct x for instance it...
  10. redwing26

    need help with segment addressing

    Thanks for the link salem I will check out that wiki link, the reason I said 24bit was because i thought i read in the book that 1 hex degit is 4 bits , but I have read so much the last few days I will be getting my wires crossed )s.......yeah the 21st bit is to do with getting over the 1m...
  11. redwing26

    seperator error in windows .mak file

    Hi I am reading a book called windows assembly language and systems programming (a very good book at that), the thing is im trying to learn how to do windows make files and the example is like so: [file skeleton.mak] fn = skeleton all:$(fn) .exe $(fn).obj : $(fn).asm masm $(fn); $(fn).res ...
  12. redwing26

    need help with segment addressing

    Ok I have reasearched this some more adding a 0 to cs is the same as cs*16 so cs = FFF0 I then add Ip which is FFFF(this is the offset?) and this gives me the text book answer of 10FFEF. This is great but isnt this a 24bit address? cheers ) David
  13. redwing26

    need help with segment addressing

    Hi I have quite a good book called: windows assembly language and systems programming, anyway Im at the stage where they explain how segments started, they say that each memmory address is 8bit and that the 20 bit starting adress of the code segment(cs) is CSx16. It then goes on to high memmory...
  14. redwing26

    have worrys about compilers

    Hi , I have been slowly learning assembly for a while now, I went away for it for a while to get a better understanding of c, anyway now Im back on the assembly, I have the following compilers tasm and masm. Now eventually I want to learn to use assembly to crack my own programs to better...
  15. redwing26

    any good ides,assembly editors(as) for linux (must do indenting & good

    Does anyone know here I can get any good ides,assembly editors(as) for linux (must do indenting & good colour coding.....e.g keyword colour coding NOT black). I no I can colour code myself through some of the apps but I would rather just get a good ide, or good thorough editor with a pre made...
  16. redwing26

    need help to get output from my program after its done the calculation

    cool I managed to get my problem fixed from someone in the gentoo forums the guy took the time to explain some basic stuff
  17. redwing26

    need help to get output from my program after its done the calculation

    ok going over my newb notes :-) and I may be wrong here but movl $2,%ebx <-----moves the actual number 2 into %ebx movl $1,%eax <-----moves the actual number 1 into %eax int $0x80 <------interrupt 80 which tells linux to exit the program ....it knows the call we want...
  18. redwing26

    need help to get output from my program after its done the calculation

    im going to try and run this on its own movl $2,%ebx movl $1,%eax int $0x80
  19. redwing26

    need help to get output from my program after its done the calculation

    I basically copied this out a book that was supposed to be for newbies ......Its supposed to add 2 to the power of 5 + 3 to the power of 2 ......im thinking it should be doing it since I copied the example from this book http://download.savannah.gnu.org/releases/pgubook/ I have found the book...
  20. redwing26

    need help to get output from my program after its done the calculation

    Hi sorry about the tags .......is my first time on this forum , I will tag the next one however thats done ........anyway now that you have told me about tags how about helping me with my actual question as well?

Part and Inventory Search

Back
Top