🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: pl.comp.lang.asm
4 messages
4 total messages Started by Matuzalem Sun, 25 Feb 2007 18:04
instrukcje inaczej...
#995
Author: Matuzalem
Date: Sun, 25 Feb 2007 18:04
15 lines
1471 bytes
Witam

Ma może ktoś namiary na stronę która zawierała by następujące
informacje:

Jak przedstawić w sposób matematyczny instrukcje z asm?
np.

add a, b -> a = a + b
sub a, b -> a = a - b

i tak z każdą inną instrukcją: mul, imul, div, ror, rol, shr, shl,
sal, sar, rcr itd.

Pozdrawiam
Re: instrukcje inaczej...
#996
Author: Wiktor S.
Date: Sun, 25 Feb 2007 22:26
24 lines
1681 bytes
> Jak przedstawić w sposób matematyczny instrukcje z asm?
> np.

> add a, b -> a = a + b
> sub a, b -> a = a - b

ano na przykład właśnie tak.

> i tak z każdą inną instrukcją: mul, imul, div, ror, rol, shr, shl,
> sal, sar, rcr itd.

IA-32 Intel Architecture Software Developer's Manual
           Volume 2A: Instruction Set Reference, A-M
           Volume 2B: Instruction Set Reference, N-Z

AMD64 Architecture Programmer's Manual
           Volume 3: General-Purpose and System Instructions

Tylko nie spodziewaj się prostego matematycznego działania dla każdej 
instrukcji, niektóre z nich to już krótki program...

-- 
Azarien
Dear Aunt, let's set so double the killer delete select all
Re: instrukcje inaczej...
#997
Author: Matuzalem
Date: Mon, 26 Feb 2007 11:50
26 lines
2089 bytes
On 25 Lut, 23:26, "Wiktor S." <ANTIS...@wswiktor.AT.poczta.DOT.fm>
wrote:
> > Jak przedstawić w sposób matematyczny instrukcje z asm?
> > np.
> > add a, b -> a = a + b
> > sub a, b -> a = a - b
>
> ano na przykład właśnie tak.
>
> > i tak z każdą inną instrukcją: mul, imul, div, ror, rol, shr, shl,
> > sal, sar, rcr itd.
>
> IA-32 Intel Architecture Software Developer's Manual
>            Volume 2A: Instruction Set Reference, A-M
>            Volume 2B: Instruction Set Reference, N-Z
>
> AMD64 Architecture Programmer's Manual
>            Volume 3: General-Purpose and System Instructions
>
> Tylko nie spodziewaj się prostego matematycznego działania dla każdej
> instrukcji, niektóre z nich to już krótki program...

Dzięki, właśnie tego szukałem (wiem że gdzieś to widziałem, ale nie
wiedziałem gdzie... :] )

Pozdrawiam
Re: instrukcje inaczej...
#998
Author: Bartosz Wójcik
Date: Tue, 13 Mar 2007 23:00
20 lines
1417 bytes
On 25 Feb 2007 10:04:31 -0800, Matuzalem wrote:

> Witam
> 
> Ma może ktoś namiary na stronę która zawierała by następujące
> informacje:
> 
> Jak przedstawić w sposób matematyczny instrukcje z asm?
> np.
> 
> add a, b -> a = a + b
> sub a, b -> a = a - b

a piszesz emulator? Jesli tak to najlepszym i najdokladniejszym
zrodlem tego typu informacji sa emulatory procesora jak np.
bochs.sourceforge.net gdzie kazda instrukcja jest szczegolowo opisana,
wlaczajac obsluge flag, wyjatkow etc.

-- 
Bartosz Wójcik | www.pelock.com
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