Pelles C forum

Assembly language => Assembly discussions => Topic started by: Jokaste on October 24, 2017, 09:39:58 AM

Title: Asm Library
Post by: Jokaste on October 24, 2017, 09:39:58 AM

Experienced programmers only ask questions on specific topics, but beginners are lost. How do you program? What function is called?
I decided to write a library of functions in assembly, a can like that which one finds in Masm32. Good morning and thank you Mr. Hutchinson.
I would like if it is possible to get help from other programmers because I do not have the infused science. Aside from writing a function that calculates the value of 1 + 1 (= 2 or 3), I do not know how to do much. So volunteers are welcome.


The library is at [size=78%]http://asmlib.monsite-orange.fr/index.html (http://asmlib.monsite-orange.fr/index.html)[/size]


Philippe RIO / Jokaste / Grincheux
Title: Re: Asm Library
Post by: jj2007 on October 24, 2017, 12:28:41 PM
Quote
Les fonctions MemorySetxxx sont inspirées de celles écrites par Agner Frog

T'es sure qu'il s'appelle comme ça?
Title: Re: Asm Library
Post by: Jokaste on October 24, 2017, 01:15:09 PM
I don't know where I have found "Frog".
Thank You.
Title: Re: Asm Library
Post by: Jokaste on October 24, 2017, 01:17:17 PM
Timo made some useful remarks.
I made the changes : One function per file for a better linking and a new stub.
Now it has 29 functions :
Quote
   Bin                  @1
   Bin8               @2
   Bin16               @3
   Bin32               @4
   Bin64               @5
   MemorySet            @6
   MemorySetTo0         @7
   FileOpen            @8
   FileCreate            @9
   FileClose            @10
   FileDelete            @11
   FileSecureDelete      @12
   FileOpenForRead         @13
   FileOpenForWrite      @14
   FileRead            @15
   FileWrite            @16
   FileGetPosition         @17
   FileFlush            @18
   Error               @19
   Warning               @20
   Information            @21
   MemoryAlloc            @22
   MemoryFree            @23
   GetSpecialFolderPath   @24
   RecycleBinInformations   @25
   EmptyRecycleBin         @26
   GetUnreadMailCount      @27
   DiskFreeSpace         @28
   BrowseForFolder         @29
   Ascii2QWord            @31
   StringLength            @32
   StringLower            @33
   StringUpper            @34
   IsAlpha               @35
   IsNumeric            @36
   IsAlphaNumeric         @37