Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: minsiz
  • Order by date
  1. minsiz

    Base Conversion

    sorry i gave you a false code example, because i usually did; dividing by ten's power (to convert from hex to decimal and display a bounded num) and put remainder in memory from left to right. yesterday my brain was off; i mixed the both ideas ok, never mind in your case you must divide by the...
  2. minsiz

    Base Conversion

    yes it is easy you divide the 10 base number out of 5 or any base you want then take the remainder as the left digit redo with the dividend like the code below mov eax, (the wished number) mov cx, 14 a: xor edx, edx (or extend the sign by cxd instruction i think) div word...
  3. minsiz

    changing background colors using an increment???

    hello you are using text mode the background color is in the second byte (the first is the ascii and the second is the attribute) bits 4, 5, 6 are for background so you preserve the first four bits and the last ( of blinking); add 1000h to ax (ax is the video memory text word) or 10001000 to...
  4. minsiz

    Crash-happy VGA writing

    hello the vga memory is at 0a000h change es to 0a000h and di to 0 than use movsb [w][d]like below mov cx, 64000 rep movsb or mov cx,32000 rep movsw or mov cx, 16000 rep movsd

Part and Inventory Search

Back
Top