🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: pl.comp.lang.pascal
4 messages
4 total messages Started by "Robert Weso�o Fri, 01 Feb 2008 10:21
32-bitowy assembler
#89036
Author: "Robert Weso�o
Date: Fri, 01 Feb 2008 10:21
5 lines
167 bytes
Wiecie mo�e jak oszuka� 16-bitowego Turbo Pascala i zmusi� go do dzia�ania
na 32-bitowych rejestrach. We FreePascalu to jest mo�liwe ale mi chodzi o TP



Re: 32-bitowy assembler
#89037
Author: Daniel Janus
Date: Fri, 01 Feb 2008 09:26
15 lines
741 bytes
Dnia 01.02.2008 Robert Weso?owski <wesolowskirobert@zsberg.edu.pl> napisa�/a:
> Wiecie mo?e jak oszukaae 16-bitowego Turbo Pascala i zmusiae go do dzia?ania
> na 32-bitowych rejestrach. We FreePascalu to jest mo?liwe ale mi chodzi o TP

Prefiksami (bajty 66h i 67h, zale�nie od instrukcji).  Na przyk�ad:

   db 66h; xor ax, ax                 (* xor eax, eax)
   db 66h; mov ax, 5678h; dw 1234h    (* mov eax, 12345678h)

--
Daniel 'Nathell' Janus, moveat@nathell.korpus.pl, http://korpus.pl/~nathell
Windows: A thirty-two bit extension to a sixteen-bit patch to a eight-bit
operating system originally coded for a four-bit microprocessor written by a
two-bit company that can't stand one bit of competition. [Jargon File 4.3.3]

Re: 32-bitowy assembler
#89539
Author: =?UTF-8?B?QW5kcn
Date: Thu, 01 Oct 2009 21:50
9 lines
204 bytes
Robert Wesołowski pisze:
> Wiecie mo¿e jak oszukaæ 16-bitowego Turbo Pascala i zmusiæ go do dzia³ania
> na 32-bitowych rejestrach. We FreePascalu to jest mo¿liwe ale mi chodzi o TP
>
>

USE32


Re: 32-bitowy assembler
#89571
Author: =?ISO-8859-2?Q?A
Date: Tue, 02 Mar 2010 23:11
16 lines
595 bytes
Daniel Janus pisze:
> Dnia 01.02.2008 Robert Weso?owski <wesolowskirobert@zsberg.edu.pl> napisa�/a:
>> Wiecie mo?e jak oszukaae 16-bitowego Turbo Pascala i zmusiae go do dzia?ania
>> na 32-bitowych rejestrach. We FreePascalu to jest mo?liwe ale mi chodzi o TP
>
> Prefiksami (bajty 66h i 67h, zale�nie od instrukcji).  Na przyk�ad:
>
>    db 66h; xor ax, ax                 (* xor eax, eax)
>    db 66h; mov ax, 5678h; dw 1234h    (* mov eax, 12345678h)
>

A co zrobisz z: BTS, BTR, BTC, BSF itd., BSWAP, MOVSX, MOVZX ?


Jak masz BP7, to masz te� TASMX. Najlepiej zrobi� OBJ'a.

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