Path: utzoo!utgpu!news-server.csri.toronto.edu!clyde.concordia.ca!mcgill-vision!snorkelwacker!usc!randvax!ucla-an!hermix!unigold!kianusch From: kianusch@unigold.UUCP (Kianusch Sayah Karadji) Newsgroups: comp.sys.ibm.pc Subject: MSC 6.00 (_asm help wanted) Summary: how to cast in IL asm Keywords: MSC 6.00 asm inline assembly Message-ID: <4@unigold.UUCP> Date: 10 Aug 90 06:17:27 GMT Reply-To: kianusch@unigold.UUCP (Kianusch Sayah Karadji) Distribution: na Organization: UNIGOLD Lines: 28 Hi There... asuuming following code... --- void test (short variable) { _asm { [...] mov al, variable [...] } return; } --- compiling with 'cl -c test.c' gives no error messages... but compiling with 'cl -c -W4 test.c' I get a warning complaining about different types... Well he's right... but how do I cast the 'short' to a 'char' during InLine Assemly??? Please Email... do not Post the answer, because we don't get these Newsgroups here... Thanx... Kianusch ...!hermix!unigold!kianusch ...!pacbell!unicom!kianusch