From: Michael Urman Date: Thu, 5 Jul 2001 08:58:31 +0000 (-0000) Subject: Added prototype for ConvertExprToImm() X-Git-Tag: v0.1.0~401 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=49f781300e2cf763b3555f9f588437adbbbb91a5;p=yasm Added prototype for ConvertExprToImm() svn path=/trunk/yasm/; revision=110 --- diff --git a/include/bytecode.h b/include/bytecode.h index ce8ee6bd..de093f4e 100644 --- a/include/bytecode.h +++ b/include/bytecode.h @@ -1,4 +1,4 @@ -/* $Id: bytecode.h,v 1.9 2001/07/05 08:37:59 mu Exp $ +/* $Id: bytecode.h,v 1.10 2001/07/05 08:58:31 mu Exp $ * Bytecode utility functions header file * * Copyright (C) 2001 Peter Johnson @@ -88,6 +88,7 @@ effaddr *ConvertRegToEA(effaddr *ptr, unsigned long reg); effaddr *ConvertImmToEA(effaddr *ptr, immval *im_ptr, unsigned char im_len); immval *ConvertIntToImm(immval *ptr, unsigned long int_val); +immval *ConvertExprToImm(immval *ptr, struct expr *expr_ptr); void SetEASegment(effaddr *ptr, unsigned char segment); void SetEALen(effaddr *ptr, unsigned char len); diff --git a/libyasm/bytecode.h b/libyasm/bytecode.h index ce8ee6bd..de093f4e 100644 --- a/libyasm/bytecode.h +++ b/libyasm/bytecode.h @@ -1,4 +1,4 @@ -/* $Id: bytecode.h,v 1.9 2001/07/05 08:37:59 mu Exp $ +/* $Id: bytecode.h,v 1.10 2001/07/05 08:58:31 mu Exp $ * Bytecode utility functions header file * * Copyright (C) 2001 Peter Johnson @@ -88,6 +88,7 @@ effaddr *ConvertRegToEA(effaddr *ptr, unsigned long reg); effaddr *ConvertImmToEA(effaddr *ptr, immval *im_ptr, unsigned char im_len); immval *ConvertIntToImm(immval *ptr, unsigned long int_val); +immval *ConvertExprToImm(immval *ptr, struct expr *expr_ptr); void SetEASegment(effaddr *ptr, unsigned char segment); void SetEALen(effaddr *ptr, unsigned char len); diff --git a/src/bytecode.h b/src/bytecode.h index ce8ee6bd..de093f4e 100644 --- a/src/bytecode.h +++ b/src/bytecode.h @@ -1,4 +1,4 @@ -/* $Id: bytecode.h,v 1.9 2001/07/05 08:37:59 mu Exp $ +/* $Id: bytecode.h,v 1.10 2001/07/05 08:58:31 mu Exp $ * Bytecode utility functions header file * * Copyright (C) 2001 Peter Johnson @@ -88,6 +88,7 @@ effaddr *ConvertRegToEA(effaddr *ptr, unsigned long reg); effaddr *ConvertImmToEA(effaddr *ptr, immval *im_ptr, unsigned char im_len); immval *ConvertIntToImm(immval *ptr, unsigned long int_val); +immval *ConvertExprToImm(immval *ptr, struct expr *expr_ptr); void SetEASegment(effaddr *ptr, unsigned char segment); void SetEALen(effaddr *ptr, unsigned char len);