lkml.org 
[lkml]   [1999]   [Jul]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: __asm__
In <017501becf18$ae3312a0$0004600a@death> Colin Coe (coec@altu.net.au) wrote:
> Hi all

> How would I use the __asm__ macro to execute to following assember?

> mov ax, <some_variable>
> mov es, ax
> sub ax, ax
> xchg ax, es:[<some_variable>]

Huh. Why you need such macro in first place ? What for you want to use segments
in Linux ???




-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:53    [W:0.047 / U:0.876 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site