🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.msdos.programmer
Article #567

assembler problem

#567
From: Simon Cornish.
Date: Tue, 25 Sep 1990 12:27
27 lines
1198 bytes
Hi, I have a problem with MASM v3.00 that a friend lent me
The following is an excerpt from the listing output..
(I'm new to 8088 assembly, so if I'm doing something silly, just tell me)


 
 Addr  Machine Code                       Instruction
 
 004E  A2 0381 R	 	         MOV   W_FLAG,AL
 0051  FF 26 0382 R	 	         JMP   [WAITING]
 	 	 	 	 
 	 	 	 	MNLOOP:
 E r r o r   ---	6:Phase error between passes    
 004F  AC	 	 	        LODSB         
 0050  3C 1F	 	 	         CMP   AL,CTRL

I can see that the indirect jump should be a four byte instr,
 but the LODSB Is placed at 4F.   WHY DOES IT DO THIS?????

Thanx in advance for your help


       .simon.

    " Fasten your seatbelts, we're in for a funky evening. "
                                             -- All about Eve.
     cornish@ecr.mu.oz.au  or   cornish@gondwana.UUCP
Technical Details
Message-ID: <5622@munnari.oz.au>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!cs.utexas.edu!samsung!munnari.oz.au!gondwana9!cornish

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!cs.utexas.edu!samsung!munnari.oz.au!gondwana9!cornish
From: cornish@ecr.mu.oz.au (Simon Cornish.)
Newsgroups: alt.msdos.programmer,comp.os.msdos.programmer
Subject: assembler problem
Keywords: MASM v3.00
Message-ID: <5622@munnari.oz.au>
Date: 25 Sep 90 12:27:44 GMT
Sender: news@cs.mu.oz.au
Lines: 27