private void btnBreakP_Click(object sender, RoutedEventArgs e)
        {
            string bpaddr = "";

            //To be implemented.
            if (btnBreakP.IsEnabled)
            {
                GetBreakPoint bpdialog = new GetBreakPoint(bpaddr);
                bpdialog.Show();

                Task.Run(() =>
                {
                    while (bpdialog.BPaddr.Equals("") && bpdialog.On == true)
                    {
                        ;
                    }


                    try { asim.AddBreakP(Convert.ToInt32(bpdialog.BPaddr, 16)); }
                    catch {; }
                    finally {; }
                });
            }
        }