A little bit more than 2 weeks from the beginning of the semester I have an idea what are the courses going to be and what I’ll be doing during the semester. In my Economics course there is this old professor that “is teaching this course for 35 years” and since the beginning of the semester we’ve been watching videos of “Economic USA”. Pretty boring. In assembly language, we write programs like
; Georgi Todorov - 2006; " Write a program that reads a digit entered at the KB, doubles it, then compares the result to 9.; Your program will then print either twice the number or 9, whichever is larger.";; Copyright under the terms of the GPL;data segmentcrlf db 0dh, 0ah, '$'question db 'Enter a number? ', '$'data endsWORKING_STORAGE SEGMENTdw 10h dup(?)WORKING_STORAGE ENDSCODE SEGMENTassume SS:WORKING_STORAGE, CS:CODEstart:mov ax, datamov ds, axmov dx, offset questionmov ah, 9int 21hmov ah, 1int 21hsub al, 30hmov bl, aladd bl,almov dx, offset crlfmov ah,9int 21hcmp bl,9jg numbermov dl,9add dl,30hmov ah,2int 21hjmp quitnumber:mov dl,1add dl,30hmov ah,2int 21hsub bl,10mov dl,bladd dl,30hmov ah,2int 21hjmp quitquit:mov dx, offset crlfmov ah,9int 21hmov ax, 4c00hint 21hCODE ENDSend start
or:
; Georgi Todorov - 2006; " Write a program to read in a single letter. If the letter is either y or Y; your program will print YES, otherwise NO";; Copyright under the terms of the GPL;data segmentcrlf db 0dh, 0ah, '$'question db 'Enter a letter? ', '$'NOPE db 'NO','$'YEAH db 'YES','$'data endsWORKING_STORAGE SEGMENTdw 10h dup(?)WORKING_STORAGE ENDSCODE SEGMENTassume SS:WORKING_STORAGE, CS:CODEstart:mov ax, datamov ds, axmov dx, offset questionmov ah, 9int 21hmov ah, 1int 21hcmp al,'Y'jz yescmp al,'y'jz yesmov dx, offset crlfmov ah, 9int 21hmov dx, offset NOPEmov ah, 9int 21hjmp quityes:mov dx, offset crlfmov ah, 9int 21hmov dx, offset YEAHmov ah, 9int 21hjmp quitquit:mov dx, offset crlfmov ah, 9int 21hmov ax, 4c00hint 21hCODE ENDSend start
In Environment the only topic is how bad humans are and how because of us the planet is in such a bad shape and there are so many illnesses around.
My last course, independent study - “Spectrum Analysis of Network Traffic” ( Sounds pretty cool
) I haven’t done much about. I’ve only read some big portion of the book Fourier Series by Georgi Tolstov. I didn’t do much more, because I had to finish my other Independent study - Networking. Fortunately the paper is almost finished. It just needs some polishing and it is done.