Notice: We are working to install MAS on all macs in 103 MLH. It is installed on many of them (under the Apple menu). PLEASE DO NOT EDIT OR DELETE FILES IN THE MAS FOLDER!
xref stop, newline, strout start: lea msg,a0 ; address move.w #msglen,d0 ; length jsr strout ; call strout( address, count ) jsr newline ; call newline jsr stop ; the end! data msg: dc.b 'hello world' msglen: equ *-hello end
move.w #$00FF,d5 ori.w #$0F0F,d5 andi.w #$3333,d5 eori.w #$5555,d5
x := 0; y := 1; repeat z := x + y; y := x; x := z; writeln( 'value = ', z ) until z > 1000You need not run this program, but you may; this problem counts twice as much as the previous problems on this assignment!