Uknc disasm 160000
From Felixl.com
Jump to navigationJump to searchROM:160300 reset: ; DATA XREF: ROM:160000�o ROM:160300 mov @#word_172660, R4 ; saved stack pointer ROM:160304 clr R0 ROM:160306 mov R4, SP ; load stack pointer ROM:160310 bmi this_is_cpu ; if negative -- then we're on CPU ROM:160312 bit #^B10000, @#177716 ; is CPU in HALT? ROM:160320 beq cold_start ROM:160322 mov @#0, R0 ; is vector table initialized? ROM:160326 beq cold_start ROM:160330 jmp @R0 ; jump to vector 0 ROM:160332 ; --------------------------------------------------------------------------- ROM:160332 ROM:160332 cold_start: ; CODE XREF: ROM:160320�j ROM:160332 ; ROM:160326�j ROM:160332 mov #40, @#177716 ; ' ' ROM:160340 call PrepareCPUBootStrap ROM:160344 mov #70045, @#177010 ROM:160352 mov 42(R4), @#177014 ROM:160360 clr @#177716 ; start cpu ROM:160364 mov #100, R0 ; '@' ROM:160370 ROM:160370 loc_160370: ; CODE XREF: ROM:160370�j ROM:160370 sob R0, loc_160370 ROM:160372 mov #-100000, @#177716 ROM:160400 call sub_160410 ROM:160404 swab R0 ROM:160406 br loc_160474