🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.intel
Article #1738

PUSH (16 bit value)

#1738
From: Mike McNally
Date: Thu, 09 Jun 1988 22:17
14 lines
860 bytes
Maybe I haven't looked hard enough, but I can't figure out how to force
ASM386 to generate an operand size override for a "push" instruction
with an immediate operand.  In other words, in a 32-bit segment, how
do I "push" a 16-bit immediate value?  Would

	push		loww(100)

work?  (I don't have asm386 to play with, just a manual and memories of
teaching countless 8086 workshops).

-- 
Mike McNally of Lynx Real-Time Systems

uucp: lynx!m5 (maybe pyramid!voder!lynx!m5 if lynx is unknown)
Technical Details
Message-ID: <3888@lynx.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!lll-winken!lll-tis!ames!oliveb!pyramid!voder!lynx!m5

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!lll-winken!lll-tis!ames!oliveb!pyramid!voder!lynx!m5
From: m5@lynx.UUCP (Mike McNally)
Newsgroups: comp.sys.intel
Subject: PUSH (16 bit value)
Message-ID: <3888@lynx.UUCP>
Date: 9 Jun 88 22:17:16 GMT
Reply-To: m5@lynx.UUCP (Mike McNally)
Distribution: na
Organization: Lynx Real-Time Systems Inc, Campbell CA
Lines: 13