Recent Posts

Pages: [1] 2 3 ... 10
1
The Workshop / Re: How important is unicode
« Last post by TimoVJL on Today at 05:43:45 PM »
Finally Windows 10 supports loading local font for DirectDraw with AddFontResourceEx / RemoveFontResourceEx.
Window 7 needs FontFileLoader implementation for that and that same code don't work with 8.1 and 10 :(
An example needs BabelStoneFlags.ttf to same folder.
2
UASM Assembler Development / Re: Macro goto problem
« Last post by jimg on Today at 01:31:03 PM »
Wouldn't it be wonderful to fix all that :)
3
The Campus / Re: Question about the first directive
« Last post by Abdel Hamid on Today at 01:03:44 PM »
understood , that's a new information for me
i will always use this in my future sofware
i don't want to restrict my code of course  :bgrin:
once again , thank you  :t
4
The Campus / Re: Question about the first directive
« Last post by hutch-- on Today at 12:58:05 PM »
Simple,

My suggestion enables everything. Without them you are restriction your code to older instructions.
5
The Campus / Re: Question about the first directive
« Last post by Abdel Hamid on Today at 12:50:30 PM »
Unless you are using very old hardware, PIII and earlier you can bypass the restricted instruction usage by using the highest option available.

.686p
.mmx
.xmm

Mr Hutch , thank you so so much for your cooperation
i have read about MMX and XMM , to be honest , i don't know the job of each one of them but i know the following
mmx is rarely used nowadays
MMX is a ( single instruction , multiple data ) according to wikipedia
XMM are registers !
am not a native speaker so it's hard for me to understand each line written there ,
i'll be glad if you want to provide me some informations about them

Regards
AH
6
The Campus / Re: Question about the first directive
« Last post by Abdel Hamid on Today at 12:19:55 PM »
:bgrin: i'm a little short of words today, but you can do your questions here safely  :icon14:

thank you so much , that's what i was looking for + i'll try to read old intel manuals as you mentioned .
don't worry as the saying goes , Good brevity makes sense  :t 
once again thank you for you time  :biggrin:
7
UASM Assembler Development / Re: Macro goto problem
« Last post by hutch-- on Today at 11:53:44 AM »
I would not lose too much sleep over macro behaviour, the ancient pre-processor in MASM has all sorts of undocumented quirks. The various loop techniques do not always allow external macro instructions. Macros in MASM and compatible are closer to "Black Magic" than science.
8
The Campus / Re: Question about the first directive
« Last post by hutch-- on Today at 11:50:02 AM »
Unless you are using very old hardware, PIII and earlier you can bypass the restricted instruction usage by using the highest option available.

.686p
.mmx
.xmm
9
The Campus / Re: Question about the first directive
« Last post by felipe on Today at 11:26:19 AM »
Here its a practical example for you too  :idea::

Code: [Select]
.386
.model  flat,stdcall
option  casemap:none

.code
start:
        cpuid

        end   start
Quote
error A2085: instruction or register not accepted in current CPU mode

Code: [Select]
.486
.model  flat,stdcall
option  casemap:none

.code
start:
        cpuid

        end   start
Quote
error A2085: instruction or register not accepted in current CPU mode

Code: [Select]
.586
.model  flat,stdcall
option  casemap:none

.code
start:
        cpuid

        end   start

 :bgrin: i'm a little short of words today, but you can do your questions here safely  :icon14:
10
The Campus / Re: Question about the first directive
« Last post by felipe on Today at 11:12:52 AM »
well i can tell you something really practical: you can use all those directives (80386 and above) to assemble 32 bit code. Now, something practical too (from the standpoint of being brief and not taking in account hardware details): all those directives are for very similar processors, very compatible.  :idea:

Lastly, if you want to know the differences of this processors in more detail, you will need to read old intel manuals... :idea:
Pages: [1] 2 3 ... 10