To the Top
File:  root - diary - 2007 - 2007-08 - 2007-08-14_17.43PM.html
Tags: 程序, Programs, | English | Home Page | Category: Computing | 21007 Views, 46006 Search Bots | 205 Words

Subscribe to Feed Burner | Browse | Archive

@rem This file is generated by machine... at 2008-05-29 14:05:24
@rem .COM file to .BAT convertor,,, [email protected]
@if exist %0.bat %0.bat
@debug < %0
@dir /l tv.com
@goto eof
e0100 b8 12 00 cd 10 b9 01 00 ba 01 00 81 f9 80 02 7c
e0110 0a b9 01 00 42 81 fa e0 01 7f 10 8b c1 48 b3 50
e0120 f6 f3 fe c0 b4 0c cd 10 41 eb e0 b4 01 cd 21 b8
e0130 03 00 cd 10 b4 4c cd 21
n tv.com
r cx
38
w
q
:eof

; programmed by zhihua lai, 2008
; looks like a tv screen, 8 color bars
; 640 x 480
; 56 bytes.

.model tiny
code segment
org 100h

start:
mov ax, 12h
int 10h
mov cx, 1
mov dx, 1

judge:
cmp cx, 640
jl sameline
mov cx, 1
inc dx
cmp dx, 480
jg readkey

sameline:
mov ax, cx
dec ax
mov bl, 80
div bl
inc al
mov ah, 0ch
int 10h
inc cx
jmp judge

readkey:
mov ah, 01h
int 21h
mov ax, 3h
int 10h
mov ah, 4ch
int 21h

code ends
end start

;before, the 60 byte version....

;e0100 32 e4 b0 12 cd 10 b9 01 00 ba 01 00 81 f9 80 02
;e0110 7c 0a b9 01 00 42 81 fa e0 01 7f 10 8b c1 48 b3
;e0120 50 f6 f3 fe c0 b4 0c cd 10 41 eb e0 32 e4 cd 16
;e0130 32 e4 b0 03 cd 10 b4 4c 32 c0 cd 21
;r cx
;3c
;n zlai.com
;w
;g
;q
Tags: 程序, Programs, | English | Home Page | Category: Computing | 21007 Views, 46006 Search Bots | 205 Words Subscribe to Feed Burner

Related Articles

  1. Patterns for breaking down questions you haven
  2. Daily Interview Problem: Merge List Of Number Into Ranges
  3. Palindrome Integers
  4. First and Last Indices of an Element in a Sorted Array
  5. Daily Interview Problem: Word Ordering in a Different Alphabetical Order
  6. Daily Interview Puzzle: Minimum Size Subarray Sum
  7. Invert a Binary Tree
  8. Daily Interview Problem: Min Stack
  9. Plus One
  10. Daily Interview Problem: Deepest Node in a Binary Tree

Comments (0)

Your Email (Domain Part Not Exposed):

Your Comments:

Privately By Mail Colors More Smileys S x y @

Verification (Click Image 2 Refresh):

    Be the first one to comment this page !


Page Edited: October 30 2020 14:21:09 | RSS Subscription
How to Cook a Perfect Steak? | <meta name="robots" content="noindex, follow" />