Little Endian adressing

I've got problem with my task.

Here is my task: In memory with adress convention Little Endian next bytes of memory strating from 0x100120 have following date 0x01 0x02 0x03 0x04 0x05. After copy to 2-byte number from date, frim adress 0x100121 to register A what is the value or register?

Please help.

Answers


0x100120 have following date 0x01 0x02 0x03 0x04 0x05.

0x100120 has 0x01 0x100121 has 0x02 <-- first byte 0x100122 has 0x03 <-- second byte 0x100123 has 0x04 0x100124 has 0x05

When reading 2 bytes from an address the first byte goes to the low part of the A register and the second byte goes to the high part of the A register. So AL=0x02 and AH=0x03 This gives AX=0x0302 (770 decimal)


Need Your Help

Hide or show table rows on button click

html asp.net tr

is there a way to hide or show specific table rows when a button is clicked?

AutoHotKey ImageSearch

click autohotkey bots

So I am trying to make a game bot that will grind levels for me.

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.