Assembler: Bitshiften, wie, wo, was?

Diskutiere und helfe bei Assembler: Bitshiften, wie, wo, was? im Bereich Prozessoren im SysProfile Forum bei einer Lösung; Ich weiß was das ist, darum geht es nicht. mov bl, 0x12 Speicherinhalt 00010010 Jetzt bitshifte ich 4 nach rechts shr bl, 4 00000001 0010... Discussion in 'Prozessoren' started by Simon221585, Jan 23, 2021.

  1. Simon221585
    Simon221585 Gast

    Ich weiß was das ist, darum geht es nicht.

    mov bl, 0x12

    Speicherinhalt

    00010010

    Jetzt bitshifte ich 4 nach rechts

    shr bl, 4

    00000001

    0010 ,,verschwindet"

    Wo ist 0010 jetzt? Irgendwo im Nirvana? Ist es jetzt für immer weg? Was macht die CPU damit?

    wohin wurde das geschoben, ins angrenzende Register?

    :)
     
    #1 Simon221585, Jan 23, 2021
Thema:

Assembler: Bitshiften, wie, wo, was?

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice