flat assembler
Message board for the users of flat assembler.
![]() Goto page Previous 1, 2 |
Author |
|
Just4fasm 30 Apr 2013, 19:35
typedef worm!!! Stop lying!!! Stop pretending!!!.
Nigger!!! Where are those link posts for future references???!!! huh?!. You are busy???!!! then why you are reading and replying with total ape answers?!!!. Apes do you even know what you talking about?!!!. Nigger apes!!! you have plenty of times that's why you are answering such a stupid ape answers!. Truth is you are simply don't know about things!!!. Ape instinct responding to humans!. Because apes do not have enough human brains!!!. |
|||
![]() |
|
Just4fasm 30 Apr 2013, 19:45
AsmGuru62 wrote: When this thread started -- I politely asked if the thread starter looked at any of posted links. AsmGuru62, poor you I can help you! I can make this your dream come true! 32-bit ![]() |
|||
![]() |
|
AsmGuru62 30 Apr 2013, 20:08
![]() I wanted to know if thread starter found the information needed and if not -- I was willing to help out by writing a simple DOS code for printing a number. |
|||
![]() |
|
Just4fasm 30 Apr 2013, 21:14
Here! your dreams become true!.
It's all my hard work and efforts! I wrote this routines quite few years ago! When I was almost nothing knew about the x86 CPUs! I did it all alone write 100% mine! nobody's support involved! with no internet source and no reference! everything was so dark!. All based on electronics!. Code: Convert_32bit_decimal: pusha mov eax,[Count_32bit] mov bx,Dec32_temp+9 mov cx,10 get_deci32: xor edx,edx push cx mov ecx,10 div ecx pop cx add dl,30h mov [bx],dl dec bx loop get_deci32 call Print_32bit_dec popa ret Print_32bit_dec: mov si,Dec32_temp mov cx,10 Prin_deci32: mov ah,0eh mov al,[si] cmp [Zero_d],1 je Prn_all_chr cmp cl,[Show_zero_value] ;Zero 1-8 jle Prn_all_chr cmp al,'0' je Zero mov [Zero_d],1 Prn_all_chr: int 10h jmp Print_zero_space Zero: cmp [First_Last],1 jne Print_zero_space mov al,' ' int 10h Print_zero_space: inc si loop Prin_deci32 mov [Zero_d],0 ret Dec32_temp db '0000000000 ' Temp_value32bit dw 0 Count_32bit dd 0 Zero_d db 0 Show_zero_value db 1 ; 1-9 First_Last db 0 Hex_Value_Prn_32b: pusha rol eax,8 push eax call Hex_Value_Prn pop eax rol eax,8 push eax call Hex_Value_Prn pop eax rol eax,8 push eax call Hex_Value_Prn pop eax rol eax,8 call Hex_Value_Prn call ASCII_Space popa ret Hex_Value_Prn: pusha mov dl,al mov cx,2 Hex_Prn: ror dl,4 mov al,dl and al,00001111b call Print_Hex loop Hex_Prn mov al,20h int 10h popa ret Print_Hex: mov bx,Hex_Symbol xlatb mov ah,0eh int 10h ret Hex_Symbol db '0123456789ABCDEF' Code: Org 100h mov [Count_32bit],12345678 ;Print numbers call Convert_32bit_decimal mov ah,1 int 16h int 20h ;Return to OS Example: Print out HEX Org 100h mov EAX,0abcd1234h ; call Hex_Value_Prn_32b mov ah,1 int 16h int 20h ![]() ![]() edit by revolution: Added code tags |
|||
![]() |
|
Just4fasm 30 Apr 2013, 21:15
AsmGuru62 wrote:
![]() ![]() _________________ Assembly language is machine instruction so don't make fake assembly languages other than actual CPU instruction code!. Fuck stupid Microsoft! for faking instruction codes!!!. |
|||
![]() |
|
Just4fasm 30 Apr 2013, 21:21
davetheant, AsmGuru62 you two and others! No more cries! No more waitings!. No more delusions!. No more beggings from evil freak apes!.
You got now Angel!!!. |
|||
![]() |
|
AsmGuru62 01 May 2013, 10:24
Good code, but it is too long.
It is possible to print a simple decimal number in much less instructions. |
|||
![]() |
|
Just4fasm 01 May 2013, 19:06
AsmGuru62 wrote: Good code, but it is too long. Less is possible but much is not possible!. ![]() _________________ Assembly language is machine instruction so don't make fake assembly languages other than actual CPU instruction code!. Fuck stupid Microsoft! for faking instruction codes!!!. |
|||
![]() |
|
Just4fasm 01 May 2013, 19:58
Super Small, Super Short!
Super Simplified version! Convert_&_Print_32bit_decimal: mov bx,Dec32_temp+9 mov cx,10 get_deci32: xor edx,edx push cx mov ecx,10 div ecx pop cx add dl,30h mov [bx],dl dec bx loop get_deci32 mov si,Dec32_temp mov cx,10 mov ah,0eh Prin_deci32: lodsb int 10h loop Prin_deci32 ret Dec32_temp db '0000000000 ' _________________ Assembly language is machine instruction so don't make fake assembly languages other than actual CPU instruction code!. Fuck stupid Microsoft! for faking instruction codes!!!. |
|||
![]() |
|
AsmGuru62 02 May 2013, 23:30
That is better code.
I also posted some code here (all debugged): http://board.flatassembler.net/topic.php?t=15386 |
|||
![]() |
|
Just4fasm 03 May 2013, 17:46
AsmGuru62 wrote: That is better code. I'm glad now you are tremendous years after able to write own EAX to ASCII. ![]() _________________ Assembly language is machine instruction so don't make fake assembly languages other than actual CPU instruction code!. Fuck stupid Microsoft! for faking instruction codes!!!. |
|||
![]() |
|
Just4fasm 03 May 2013, 18:42
Here, if you need Print or Convert Signed 32bit decimal value!
Print_Signed_32bit_decimal: cmp eax,7FFFFFFFh jna Signed_Ok xor eax,80000000h push eax mov ah,0eh mov al,2dh int 10h pop eax Signed_Ok: call Convert_and_Print_32bit_decimal ret These call routines are! highly sophisticated! top professional high tech electronics asm codes! The most effective and top hardware speed master asm codes! and work on any OSs even without OS can work on any computers!. All codes are 100% mine based on my superbly high experiences!!!. You are forever will be appreciates!. Last edited by Just4fasm on 05 May 2013, 03:55; edited 1 time in total |
|||
![]() |
|
baldr 03 May 2013, 19:04
Just4fasm,
Should we bow to you only once, or once per usage of your perfect routine, or even once per value converted? All hail to the Experienced One (a.k.a. Just4fasm)! ![]() |
|||
![]() |
|
MHajduk 03 May 2013, 19:54
baldr wrote: Should we bow to you only once, or once per usage of your perfect routine, or even once per value converted? ![]() |
|||
![]() |
|
nop 04 May 2013, 09:09
bugfix for just4fasm superbly high experiences code in accounting app
Code: Print_Signed_32bit_decimal: cmp eax,80000000h jna Signed_Ok neg eax push eax ;mov ah,0eh ;mov al,2dh mov ax,0e28h int 10h pop eax call Convert_and_Print_32bit_decimal mov ax,0e29h int 10h ret Signed_Ok: call Convert_and_Print_32bit_decimal ret and maybe the red color will be needed ![]() |
|||
![]() |
|
revolution 04 May 2013, 09:39
Just4fasm wrote: Here, if you need Print or Convert Signed 32bit decimal value! Just4fasm wrote: These call routines are! highly sophisticated! top professional high tech electronics asm codes! The most effective and top hardware speed master asm codes! and work on any OSs even without OS can work on any computers!. |
|||
![]() |
|
Just4fasm 04 May 2013, 20:18
revolution wrote:
Neither in math! In cpu logic 80000000h is negative number! if you want a negative symbol , put 7FFFFFFFh!. Quote:
There is no hope for you if you always being a moron!!!. Try to fix your head bugs!!!. nop wrote:
Not for me!. It's yourself only!!!. Yeah you read "superbly high experiences, code" !!!. That means no need to bugfix!!!. revolution wrote:
It seems you've no idea what is exactly "int 10h"?!!!. Do I have to explain everything???!!! for Assembler coders???!!!. Or you are all jungle monkeys???!!!. Due to all brainless idiots and nigger apes!. You are not 2 year old monkeys! you are extremely old apes!. For all! It's a very simple obvious instruction!. How to do use these call routines! For other other than 16bit-OS or x86 CPU!. On ARM CPU convert it x86 to ARM! It's so simple even a 5 year old human child can easily convert!. Warning: if you are monkey, ape!!! Then you apes can not convert!. Apes doesn't have a human brain!!!. On x86 based! Windows or Linux or Other similar OSs! you just a slight change the display interface codes for your OS requirements!. Even without the change of display interface codes! can simply work with real-mode!. |
|||
![]() |
|
Goto page Previous 1, 2 < Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2023, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.