Results 1 to 14 of 14

Thread:

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Registered User Tez_o4i_zeleni's Avatar
    Join Date: Sep:2006
    Location: Shumen
    Posts: 32

    , . :

    1. ?

    2. ?

    3. 16 ?

    4. , 16 ?

    5. , ?

  2. #2
    Registered User tedych's Avatar
    Join Date: Nov:2003
    Location:
    Posts: 17,654
    , .
    1.

    XOR CX,CX
    MOV AL,
    R1: INC CH
    SHL AL,1
    JNC R2
    INC CL
    R2: CMP CH,8
    JB R1
    CL, 1-.

    , , -

    Last edited by tedych; 2nd August 2007 at 19:02.

  3. #3
    rootless wolfshark's Avatar
    Join Date: Dec:2005
    Location:
    Posts: 5,768
    Crashing is NOT normal. It is accepted as normal because of Windows.
    Ah the Geforce 440 MX...all the power of the Geforce 2MX, without nearly a damn being changed...

  4. #4
    Registered User
    Join Date: Oct:2003
    Location:
    Posts: 4,317
    . , PIC, Alpha, MIPS, ARM, 6502, MC68x, PowerPC . - - I8086. " ", , Intel 8086 ?

  5. #5
    Registered User tedych's Avatar
    Join Date: Nov:2003
    Location:
    Posts: 17,654
    Quote Originally Posted by bsb View Post
    . , PIC, Alpha, MIPS, ARM, 6502, MC68x, PowerPC . - - I8086. " ", , Intel 8086 ?
    :
    1. ' ' , , (, ). Alpha.

    2. , Ixx86 . Btw , 8086? , , C2D .

  6. #6
    Registered User asensky's Avatar
    Join Date: Oct:2003
    Location: .
    Posts: 490

    Talking

    Quote Originally Posted by bsb View Post
    . , PIC, Alpha, MIPS, ARM, 6502, MC68x, PowerPC . - - I8086. " ", , Intel 8086 ?
    .....

    6502
    CLC
    LDX $0
    LDY $8
    LDA
    loop:
    ASL
    BCC next
    INX
    next:
    DEY
    JNZ loop


    Asrock X370 Fatal1ty Professional Gaming, Ryzen 5800X3D, NH-D15S,Corsair H100i V2, GSkill 2x16GB 3600Mhz CL16,AORUS Radeon RX 6800 XT MASTER 16G, NVMe Samsung EVO 970, MSI Optix MAG341CQ , Magni2 + Modi2 + HiFiMan HE4xx or HD 598S, Rosewill Cullinan Case

  7. #7
    Automatic Jack
    Join Date: Feb:2004
    Location:
    Posts: 216
    Quote Originally Posted by asensky View Post
    .....

    6502
    CLC
    LDX $0
    LDY $8
    LDA
    loop:
    ASL
    BCC next
    INX
    next:
    DEY
    JNZ loop
    :


    Code:
    	LDX #0
    	LDA 
    loop:
    	BEQ end
    next:	
    	ASL
    	BCC loop
    	INX
    	JNZ next
    end:
    8086 - , :
    Code:
    mov ah, al
    and ah, 0x55
    shr al, 1
    and al, 0x55
    add al, ah
    mov ah, al
    shr ah, 2
    and al, 0x33
    and ah, 0x33
    add al, ah
    mov ah, al
    shr ah, 4
    add al, ah
    and al, 0xF
    Tez_o4i_zeleni, ( ), .
    2+2=5 (for extremely lrge values of 2)

  8. #8
    Deleted User 4eRNoBiL's Avatar
    Join Date: Oct:2005
    Location:
    Posts: 739
    , , :
    Code:
    and al, 0x33
    and ah, 0x33
    :
    Code:
    and ax, 0x3333
    Code:
    mov ah, al
    and ah, 0x55
    shr al, 1
    and al, 0x55
    :
    Code:
    mov ah, al
    shr al, 1
    and ax, 0x5555
    .
    Last edited by 4eRNoBiL; 3rd August 2007 at 21:15.
    Fujistu Lifebook E756 | Core i7-6500U / 400MHz-3.1GHz | 8 GB DDR4-2133 | Samsung PM871 / 256 GB SSD | 15" 1920x1080 | Manjaro Linux + kernel 4.19

  9. #9
    Registered User
    Join Date: Jul:2006
    Location:
    Posts: 480
    , :
    Code:
            ORG $200
            JMP L0
    
    D1      DB $3F  ;DATA BYTE
    D2      DB ?    ;RESULT
    
    L0      LDA #0
    L1      LSR D1
            PHP
            ADC #0
            PLP
            BNE L1
            STA D2
    8

    :

    Code:
            ORG $200
            JMP L0
    
    D1      DB  $03,$10,$24,$01,$64,$AB,$CD,$B9
            DB  $08,$16,$87,$18,$EF,$F0,$32,$FF
    D2      DB  ?   ;RESULT
    
    L0      LDX #0
            STX D2
    L1      LDA D1,X
            LSR
            BCC L2
            INC D2
    L2      INX
            CPX #16
            BNE L1
    : XOR- , .

    Code:
            ORG $200
            JMP L0
    
    D1      DB  $FF
    D2      DB  $0A
    D3      DB  ?   ;RESULT
    
    L0      LDA D1
            EOR D2
            JSR ONES
            BRK
    
    ONES    STA D3
            LDA #0
    L1      LSR D3
            PHP
            ADC #0
            PLP
            BNE L1
            STA D3
            RTS

  10. #10
    Automatic Jack
    Join Date: Feb:2004
    Location:
    Posts: 216
    Quote Originally Posted by 4eRNoBiL View Post
    , , :
    [CODE]...[CODE]
    , , , . , , ( , )
    2+2=5 (for extremely lrge values of 2)

  11. #11
    Registered User Tez_o4i_zeleni's Avatar
    Join Date: Sep:2006
    Location: Shumen
    Posts: 32
    , , . .!!!

  12. #12
    XaMaB's Avatar
    Join Date: Nov:2001
    Location:
    Posts: 20,387
    . #3
    : XaMaB; . 0.42

    In God we Trust (all others must submit a X.509 certificate). , ()

  13. #13
    Registered User DonDale's Avatar
    Join Date: Nov:2008
    Location: Bulgaria
    Posts: 126
    .

    :
    - , BYTE;
    - , ;
    - 4 , .

    :
    START_ADDR: XXXX
    SIZE: XXXX

    TR_ADDR: XXXX


    , , ., .

    !!!

  14. #14
    Eclipse Plugin Developer aphex's Avatar
    Join Date: Mar:2003
    Location: Karlsruhe
    Posts: 546
    We are drowning in information, but starving for knowledge and time!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Copyright © 1999-2011 . .
iskamPC.com | mobility.BG | Bloody's Techblog | | 3D Vision Blog |