Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uwm.edu!rpi!court From: court@rpi.edu (Court Demas) Newsgroups: comp.os.msdos.programmer Subject: Turbo C++ - inline assembler Message-ID: <_rwg.m=@rpi.edu> Date: 27 Apr 91 00:48:02 GMT Distribution: comp.os.msdos.programmer Organization: Rensselaer Polytechnic Institute, Troy NY Lines: 21 Nntp-Posting-Host: cary101.its.rpi.edu I've been rewriting a few of my C routines in assembler (with the asm{} constuct), but I can't seem to create any labels in the code. This is very annoying to say the least. I'm using Turbo C++ 1.01. e.g.: asm{ ... cmp ax,0 jz LAB1: LAB1: inc ax ... } It gives me error saying something about 'invalid assembler opcode' on the 'LAB1:' line. Any suggestions? thanks.. court