Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Assembly Language > Jump ends nowhe...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 26 Topic 4901 of 5181
Post > Topic >>

Jump ends nowhere?!

by 001 <snthibaud@[EMAIL PROTECTED] > Mar 8, 2008 at 01:32 PM

This is probably a noob question... but I just don't get it...

I have a jump in the very first line that is executed according to
Bochs, but the code it then arrives at are just zero's (an empty part
of memory, not the jmp $ I expected). So something with my jump is
wrong, but why?


This is my code:

jmp RealMemModule_end	;Don't execute the code - it just needs to lie
around somwhere :P

AllocateMemory:
checkStackSafe 14
jc short .stackOverflow

o32 push eax
o32 push ebx
o32 push ecx
push si

mov al,byte[MemoryMap_start.mapSize]										;Use the map-size in si
as a counter
mov ah,0
mov si,ax

....large amount of code ...

times 0x200 - (MemoryMap_end - MemoryMap_start) db 0						;Make the
mapping area 200 bytes long

RealMemModule_end:
jmp $
 




 26 Posts in Topic:
Jump ends nowhere?!
001 <snthibaud@[EMAIL   2008-03-08 13:32:37 
Re: Jump ends nowhere?!
santosh <santosh.k83@[  2008-03-09 03:26:50 
Re: Jump ends nowhere?!
Keith Kanios <keith@[E  2008-03-08 14:03:07 
Re: Jump ends nowhere?!
001 <snthibaud@[EMAIL   2008-03-08 15:11:25 
Re: Jump ends nowhere?!
Robert Redelmeier <red  2008-03-09 00:11:35 
Re: Jump ends nowhere?!
Frank Kotler <fbkotler  2008-03-09 00:40:27 
Re: Jump ends nowhere?!
Frank Kotler <fbkotler  2008-03-08 23:45:48 
Re: Jump ends nowhere?!
Keith Kanios <keith@[E  2008-03-08 15:57:37 
Re: Jump ends nowhere?!
Keith Kanios <keith@[E  2008-03-08 22:22:16 
Re: Jump ends nowhere?!
001 <snthibaud@[EMAIL   2008-03-09 04:41:47 
Re: Jump ends nowhere?!
001 <snthibaud@[EMAIL   2008-03-09 04:53:11 
Re: Jump ends nowhere?!
Keith Kanios <keith@[E  2008-03-09 10:30:03 
Re: Jump ends nowhere?!
001 <snthibaud@[EMAIL   2008-03-09 11:22:54 
Re: Jump ends nowhere?!
Keith Kanios <keith@[E  2008-03-09 13:45:17 
Re: Jump ends nowhere?!
001 <snthibaud@[EMAIL   2008-03-09 14:09:59 
Re: Jump ends nowhere?!
Keith Kanios <keith@[E  2008-03-09 22:23:17 
Re: Jump ends nowhere?!
=?ISO-8859-1?Q?St=E9phane  2008-03-10 08:22:34 
Re: Jump ends nowhere?!
Frank Kotler <fbkotler  2008-03-10 20:31:23 
Re: Jump ends nowhere?!
"Wolfgang Kern"  2008-03-11 11:53:23 
Re: Jump ends nowhere?!
Keith Kanios <keith@[E  2008-03-10 10:30:13 
Re: Jump ends nowhere?!
=?ISO-8859-1?Q?St=E9phane  2008-03-10 11:09:35 
Re: Jump ends nowhere?!
=?ISO-8859-1?Q?St=E9phane  2008-03-10 16:02:13 
Re: Jump ends nowhere?!
Keith Kanios <keith@[E  2008-03-10 17:57:57 
Re: Jump ends nowhere?!
Keith Kanios <keith@[E  2008-03-10 19:02:48 
Re: Jump ends nowhere?!
Keith Kanios <keith@[E  2008-03-10 19:20:56 
Re: Jump ends nowhere?!
=?ISO-8859-1?Q?St=E9phane  2008-03-11 01:49:17 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Nov 21 12:26:49 CST 2008.