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"...
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
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...
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...
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...
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...
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...
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...
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...
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 ...
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
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...
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...
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...
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...
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...
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?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.