schnelle frage zu byte-enable u. carry flags
-
Byte-enable signale.
### reading
BE3=1 BE2=0 BE1=1 BE0=1
this: 11 00 22 33
or: 11 22 33 00### writing
BE3=1 BE2=0 BE1=1 BE0=1
(writing value=0x112233 onto addr=0x1000)
addr: +0 +1 +2 +3
before: 0x1000: ** ** ** **
this: 0x1000: 33 ** 22 11
or: 0x1000: 33 22 11 **Das carry/overflow flag bei multiplication
Ich habe a=0xee und b=0xef.
c = a*b = 0xde32
Da müsste doch das carry-flag 233 betragen ?!
(Ich weis, das es nur 1 bit groß ist. aber das ist ja informationsverlust... wird das nicht in irgendein register oder so was assembly-ishes ?)
-
Ein Flag kann nicht 233 sein. Es kann 1 oder 0 sein. Es ist ein Flag.
-