def create_widgets(self):
    "\n        Crea il layout del programma, finestra dell'emulatore\n        "
    self.Visualizza = Text(self.ram, width=80)
    self.Visualizzascrollbar = Scrollbar(self.ram)
    self.Visualizzascrollbar.config(command=self.Visualizza.yview)
    self.Visualizza.config(yscrollcommand=self.Visualizzascrollbar.set)
    self.Visualizzascrollbar.grid(row=0, column=1, sticky=(N + S))
    self.Visualizza.grid(row=0, column=0, sticky=W)
    self.Visualizzainout = Text(self.inout, width=62, height=7, fg='green', bg='black')
    self.Visualizzascrollbar_inout = Scrollbar(self.inout)
    self.Visualizzascrollbar_inout.config(command=self.Visualizzainout.yview)
    self.Visualizzainout.config(yscrollcommand=self.Visualizzascrollbar_inout.set)
    self.Visualizzascrollbar_inout.grid(row=0, column=1, sticky=(N + S))
    self.Visualizzainout.grid(row=0, column=0, sticky=W)
    self.Visualizzamicro = Text(self.micro, width=55, height=7)
    self.Visualizzascrollbar_m = Scrollbar(self.micro)
    self.Visualizzascrollbar_m.config(command=self.Visualizzamicro.yview)
    self.Visualizzamicro.config(yscrollcommand=self.Visualizzascrollbar_m.set)
    self.Visualizzascrollbar_m.grid(row=0, column=1, sticky=(N + S))
    self.Visualizzamicro.grid(row=0, column=0, sticky=W)
    self.butload = Button(self.controlli, text='LOAD', anchor=CENTER, width=15, command=self.loading, bg='SkyBlue')
    self.butload.grid(row=0, column=0)
    self.butstep = Button(self.controlli, text='Step', anchor=CENTER, width=15, command=self.step, bg='linen')
    self.butstep.grid(row=1, column=0)
    self.butminstep = Button(self.controlli, text='miniStep', anchor=CENTER, width=15, command=self.mini_step, bg='linen')
    self.butminstep.grid(row=2, column=0)
    self.butstep = Button(self.controlli, text='microStep', anchor=CENTER, width=15, command=self.micro_step, bg='linen')
    self.butstep.grid(row=3, column=0)
    self.butsetstep = Button(self.controlli, text='Set n Step', anchor=CENTER, width=15, command=self.setnstep, bg='linen')
    self.butsetstep.grid(row=4, column=0)
    self.butsetdelay = Button(self.controlli, text='Set Delay', anchor=CENTER, width=15, command=self.setdelay, bg='linen')
    self.butsetdelay.grid(row=5, column=0)
    self.butstart = Button(self.controlli, text='START', anchor=CENTER, width=15, command=self.start, bg='DarkOliveGreen3')
    self.butstart.grid(row=6, column=0)
    self.butreset = Button(self.controlli, text='RESET', anchor=CENTER, width=15, command=self.resetCD, bg='Orange3')
    self.butreset.grid(row=7, column=0)
    self.butstop = Button(self.controlli, text='STOP', anchor=CENTER, width=15, command=self.stop, bg='IndianRed')
    self.butstop.grid(row=8, column=0)
    self.butbreak = Button(self.controlli, text='BREAK', anchor=CENTER, width=15, command=self.breakpoint, bg='Magenta2')
    self.butbreak.grid(row=9, column=0)
    self.butcontinue = Button(self.controlli, text='CONTINUA', anchor=CENTER, width=15, command=self.continua, bg='Magenta2')
    self.butcontinue.grid(row=10, column=0)
    self.butesegui = Button(self.controlli, text='ESEGUI', anchor=CENTER, width=15, command=self.esegui, bg='Yellow')
    self.butesegui.grid(row=11, column=0)
    self.labelprogramc = Label(self.programc, text='00000000000', relief=SUNKEN, bg='red')
    self.labelprogramc.grid()
    self.labelmar = Label(self.mar, text='00000000000', relief=SUNKEN, bg='yellow')
    self.labelmar.grid()
    self.labelmbr = Label(self.mbr, text='000000000000000', relief=SUNKEN)
    self.labelmbr.grid()
    self.labelvari = Label(self.vari, text='0', relief=SUNKEN)
    self.labelvari.grid()
    self.labelopr = Label(self.lopr, text='000', relief=SUNKEN)
    self.labelopr.grid()
    self.labelucs = Label(self.unitas, text='0')
    self.labelucs.grid()
    self.labelucf = Label(self.unitaf, text='0')
    self.labelucf.grid()
    self.labelucr = Label(self.unitar, text='0')
    self.labelucr.grid()
    self.labelucint = Label(self.unitaint, text='0')
    self.labelucint.grid()
    self.labelnstep = Label(self.nstep, text='1')
    self.labelnstep.grid()
    self.labeldelay = Label(self.delays, text=str(self.delay))
    self.labeldelay.grid()
    self.labeltempo = Label(self.tempo, text=str(self.CD.tempo))
    self.labeltempo.grid()
    self.labelac = Label(self.lac, text='000000000000000', relief=SUNKEN)
    self.labelac.grid()
    self.labelacint = Label(self.lacint, text='000000000000000', relief=SUNKEN)
    self.labelacint.grid()
    self.labelachex = Label(self.lachex, text='000000000000000', relief=SUNKEN)
    self.labelachex.grid()
    self.labelvare = Label(self.vare, text='0', relief=SUNKEN)
    self.labelvare.grid()
Crea il layout del programma, finestra dell'emulatore
def create_widgets(self):
    "\n        \n        "
    self.Visualizza = Text(self.ram, width=80)
    self.Visualizzascrollbar = Scrollbar(self.ram)
    self.Visualizzascrollbar.config(command=self.Visualizza.yview)
    self.Visualizza.config(yscrollcommand=self.Visualizzascrollbar.set)
    self.Visualizzascrollbar.grid(row=0, column=1, sticky=(N + S))
    self.Visualizza.grid(row=0, column=0, sticky=W)
    self.Visualizzainout = Text(self.inout, width=62, height=7, fg='green', bg='black')
    self.Visualizzascrollbar_inout = Scrollbar(self.inout)
    self.Visualizzascrollbar_inout.config(command=self.Visualizzainout.yview)
    self.Visualizzainout.config(yscrollcommand=self.Visualizzascrollbar_inout.set)
    self.Visualizzascrollbar_inout.grid(row=0, column=1, sticky=(N + S))
    self.Visualizzainout.grid(row=0, column=0, sticky=W)
    self.Visualizzamicro = Text(self.micro, width=55, height=7)
    self.Visualizzascrollbar_m = Scrollbar(self.micro)
    self.Visualizzascrollbar_m.config(command=self.Visualizzamicro.yview)
    self.Visualizzamicro.config(yscrollcommand=self.Visualizzascrollbar_m.set)
    self.Visualizzascrollbar_m.grid(row=0, column=1, sticky=(N + S))
    self.Visualizzamicro.grid(row=0, column=0, sticky=W)
    self.butload = Button(self.controlli, text='LOAD', anchor=CENTER, width=15, command=self.loading, bg='SkyBlue')
    self.butload.grid(row=0, column=0)
    self.butstep = Button(self.controlli, text='Step', anchor=CENTER, width=15, command=self.step, bg='linen')
    self.butstep.grid(row=1, column=0)
    self.butminstep = Button(self.controlli, text='miniStep', anchor=CENTER, width=15, command=self.mini_step, bg='linen')
    self.butminstep.grid(row=2, column=0)
    self.butstep = Button(self.controlli, text='microStep', anchor=CENTER, width=15, command=self.micro_step, bg='linen')
    self.butstep.grid(row=3, column=0)
    self.butsetstep = Button(self.controlli, text='Set n Step', anchor=CENTER, width=15, command=self.setnstep, bg='linen')
    self.butsetstep.grid(row=4, column=0)
    self.butsetdelay = Button(self.controlli, text='Set Delay', anchor=CENTER, width=15, command=self.setdelay, bg='linen')
    self.butsetdelay.grid(row=5, column=0)
    self.butstart = Button(self.controlli, text='START', anchor=CENTER, width=15, command=self.start, bg='DarkOliveGreen3')
    self.butstart.grid(row=6, column=0)
    self.butreset = Button(self.controlli, text='RESET', anchor=CENTER, width=15, command=self.resetCD, bg='Orange3')
    self.butreset.grid(row=7, column=0)
    self.butstop = Button(self.controlli, text='STOP', anchor=CENTER, width=15, command=self.stop, bg='IndianRed')
    self.butstop.grid(row=8, column=0)
    self.butbreak = Button(self.controlli, text='BREAK', anchor=CENTER, width=15, command=self.breakpoint, bg='Magenta2')
    self.butbreak.grid(row=9, column=0)
    self.butcontinue = Button(self.controlli, text='CONTINUA', anchor=CENTER, width=15, command=self.continua, bg='Magenta2')
    self.butcontinue.grid(row=10, column=0)
    self.butesegui = Button(self.controlli, text='ESEGUI', anchor=CENTER, width=15, command=self.esegui, bg='Yellow')
    self.butesegui.grid(row=11, column=0)
    self.labelprogramc = Label(self.programc, text='00000000000', relief=SUNKEN, bg='red')
    self.labelprogramc.grid()
    self.labelmar = Label(self.mar, text='00000000000', relief=SUNKEN, bg='yellow')
    self.labelmar.grid()
    self.labelmbr = Label(self.mbr, text='000000000000000', relief=SUNKEN)
    self.labelmbr.grid()
    self.labelvari = Label(self.vari, text='0', relief=SUNKEN)
    self.labelvari.grid()
    self.labelopr = Label(self.lopr, text='000', relief=SUNKEN)
    self.labelopr.grid()
    self.labelucs = Label(self.unitas, text='0')
    self.labelucs.grid()
    self.labelucf = Label(self.unitaf, text='0')
    self.labelucf.grid()
    self.labelucr = Label(self.unitar, text='0')
    self.labelucr.grid()
    self.labelucint = Label(self.unitaint, text='0')
    self.labelucint.grid()
    self.labelnstep = Label(self.nstep, text='1')
    self.labelnstep.grid()
    self.labeldelay = Label(self.delays, text=str(self.delay))
    self.labeldelay.grid()
    self.labeltempo = Label(self.tempo, text=str(self.CD.tempo))
    self.labeltempo.grid()
    self.labelac = Label(self.lac, text='000000000000000', relief=SUNKEN)
    self.labelac.grid()
    self.labelacint = Label(self.lacint, text='000000000000000', relief=SUNKEN)
    self.labelacint.grid()
    self.labelachex = Label(self.lachex, text='000000000000000', relief=SUNKEN)
    self.labelachex.grid()
    self.labelvare = Label(self.vare, text='0', relief=SUNKEN)
    self.labelvare.grid()