Fredex's Profile User Rating: -----

Reputation: 1 Apprentice
Group:
Active Members
Active Posts:
86 (0.09 per day)
Joined:
16-January 12
Profile Views:
5,389
Last Active:
User is offline Sep 20 2013 01:06 PM
Currently:
Offline

Previous Fields

Country:
PH
OS Preference:
Windows
Favorite Browser:
Chrome
Favorite Processor:
Intel
Favorite Gaming Platform:
PC
Your Car:
Honda
Dream Kudos:
0

Latest Visitors

Icon   Fredex has not set their status

Posts I've Made

  1. In Topic: Increasing Pagefile

    Posted 4 Aug 2013

    View Postback_room, on 26 June 2013 - 01:31 PM, said:

    View Postjjl, on 24 June 2013 - 04:30 PM, said:

    Quote

    My ram is only 1G, that's why I have to extend it.

    Playing with the page file size will not increase performance, you need to invest in more memory.


    totally agree here. page files are a nightmare. doesn't matter where they are located, the constant r/w that is going on detracts from what you are trying to do. a section of the hd is always active. thus removing the access time that you could have had not using.

    in my experience 10/20Gb page files do little or nothing to increase load/access speeds.

    more memory is the only real way forward. and it is fairly inexpensive,, and easy to fit as well.


    Thanks. Now I know that increasing page files can damage the HD immediately. :whistling:
  2. In Topic: Simple Calculator

    Posted 12 Mar 2013

    thanks master..Ive learn alot.
  3. In Topic: Simple Calculator

    Posted 11 Mar 2013

    View PostGunnerInc, on 12 March 2013 - 12:58 AM, said:

    Ok, so what is your problem with division? Did you look up the div mnemonic? What don't you understand?

    storing input to registers is my problem that's why I prefer to use sub in looping to get the answer of division.

    this is what I've done.

    .model small
    .stack 10h
    .data
    	prom db "Enter the 1st no.:$"
    	promp db "Enter the 2nd no.:$"
    	result db "The answer is$"
    ;	num db 2 dup(?),'$'
    	stop_num db,10,13,'$'
    .code
    	mov ax,@data
    	mov ds,ax
    	
    	mov ah,9
    	lea dx,prom
    	int 21h
    	
    	mov ah,1
    	int 21h
    	
    ;	add al,30h		
    	mov bl,al
    
    ;	mov cl,bl
    	
    	mov ah,2
    	mov dl,10
    	int 21h
    	
    	mov dl,13
    	int 21h
    	
    	mov ah,9
    	lea dx,promp
    	int 21h	
    	
    	mov ah,1
    	int 21h
    	
    	mov bl,al	
    	mov al,0
    	mov al,cl	
    	
    	mov ch,bl	
    
    	try:
    ;	add bl,num[0]
    	sub al,bl
    	
    	loop try
    	
    	mov bl,al
    	
    	mov ah,2
    	mov dl,10
    	int 21h
    	
    	mov dl,13
    	int 21h
    	
    	mov ah,9
    	lea dx,result
    	int 21h
    	
    	mov dl,13
    	int 21h	
    	
    	mov ah,2
    	mov dl,bl
    	int 21h
    	
    	mov ah,4ch
    	int 21h
    	
    end
    
    


    what can you say??
  4. In Topic: Simple Calculator

    Posted 10 Mar 2013

    my problem now is division.
  5. In Topic: Simple Calculator

    Posted 10 Mar 2013

    View PostGunnerInc, on 10 March 2013 - 05:22 AM, said:

    Quote

    Difficult to understand.

    What is difficult to understand???

        mov     eax, 15
        mov     ecx, 3
        mul     ecx
        ; eax now contains 45
    


    and you can use 32 bit registers in 16bit DOS code.

    ok..I will explore more.

My Information

Member Title:
D.I.C Head
Age:
20 years old
Birthday:
August 15, 1993
Gender:
Location:
Romblon
Interests:
Programming,Sports
Full Name:
Fredex Rainin
Years Programming:
3
Programming Languages:
C,C++,VB6,Assembly language

Contact Information

E-mail:
Click here to e-mail me
Yahoo:
Yahoo  dexter_lab_0803@yahoo.com
Facebook:
Fredex

Comments

Page 1 of 1
  1. Photo

    Fredex Icon

    24 Jan 2012 - 04:21
    Hello to everyone..I want to learn more from you guys,share more useful tricks and idea that can improve our programming skills.
Page 1 of 1