static void cmd_memPrint(string addr_str, string len_str) { int addr; int len; addr = getNum(addr_str); len = getNum(len_str); if (len > 8192) { len = 8192; } if (len % 16 != 0) { len = (len / 16 + 1) * 16; } rstControl(addr); byte[] buff = new byte[len]; edio.memRD(addr, buff, 0, buff.Length); for (int i = 0; i < buff.Length; i += 16) { Console.WriteLine(BitConverter.ToString(buff, i, 16)); } }