using System;
public class Test
{
public static void Main()
{
int Address = 0x181BA700;
int byte1 = Address >> 24;
int byte2 = (Address >> 16) & 0xFF;
int byte3 = (Address >> 8) & 0xFF;
int byte4 = Address & 0xFF;
Console.WriteLine("A: " + byte1.ToString("X")
+ ", B: " + byte2.ToString("X")
+ ", C: " + byte3.ToString("X")
+ ", D: " + byte4.ToString("X"));
}
}
dXNpbmcgU3lzdGVtOwoKcHVibGljIGNsYXNzIFRlc3QKewoJcHVibGljIHN0YXRpYyB2b2lkIE1haW4oKQoJewoJCWludCBBZGRyZXNzID0gMHgxODFCQTcwMDsKICAgICAgICBpbnQgYnl0ZTEgPSBBZGRyZXNzID4+IDI0OwogICAgICAgIGludCBieXRlMiA9IChBZGRyZXNzID4+IDE2KSAmIDB4RkY7CiAgICAgICAgaW50IGJ5dGUzID0gKEFkZHJlc3MgPj4gOCkgJiAweEZGOwogICAgICAgIGludCBieXRlNCA9IEFkZHJlc3MgJiAweEZGOwogICAgICAgIENvbnNvbGUuV3JpdGVMaW5lKCJBOiAiICsgYnl0ZTEuVG9TdHJpbmcoIlgiKQogICAgICAgIAkrICIsIEI6ICIgKyBieXRlMi5Ub1N0cmluZygiWCIpCiAgICAgICAgCSsgIiwgQzogIiArIGJ5dGUzLlRvU3RyaW5nKCJYIikKICAgICAgICAJKyAiLCBEOiAiICsgYnl0ZTQuVG9TdHJpbmcoIlgiKSk7Cgl9Cn0=