movl $1f

Falk Hueffner hueffner@informatik.uni-tuebingen.de
Mon Mar 29 05:22:00 GMT 2004


sashti srinivasan <svasn_tcpip@yahoo.co.in> writes:

> A line from linux source is:
>
>    movl $1f, %1 /*Save EIP*/
>
>   May anyone explain me how this instruction saves
> EIP?  (%1 is the structure member holding eip).  My
> doubt is, what is this $1f and how it copies eip to
> %1.

It's the next label called '1' in forward direction. See your
assembler manual.

-- 
	Falk



More information about the Gcc-help mailing list