🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: pl.comp.lang.asm
2 messages
2 total messages Started by Rumba Dancer Tue, 27 Jun 2006 09:33
przerobka instrukcji Intel -> AT&T
#356
Author: Rumba Dancer
Date: Tue, 27 Jun 2006 09:33
20 lines
1141 bytes
Czesc

mam instrukcje nasmowa
push    dword 'Hi'

no i chce ja przerobic na skladnie AT&T
najbardziej logicznym wyjscie byloby

pushl 'Hi'

tylko ze potem dostaje
write.s: Assembler messages:
write.s:5: Error: junk `i10pushl $1' after expression

oczywiscie linijki 4,5,6 wygladaja
 pushl $2
 pushl 'Hi'
 pushl $1

Help.
Re: przerobka instrukcji Intel -> AT&T
#357
Author: Bernard
Date: Wed, 28 Jun 2006 13:03
13 lines
1113 bytes
Rumba Dancer wrote:
> Czesc
> 
> mam instrukcje nasmowa
> push    dword 'Hi'
> 
> no i chce ja przerobic na skladnie AT&T
> najbardziej logicznym wyjscie byloby
> 
> pushl 'Hi'

Oprócz samej instrukcji wypadałoby jeszcze zmienić składnię argumentu. 
ATT raczej nie lubi stałych znakowych złożonych z dwóch znaków.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads