Structurized Assembly Language Program Design of Tetris
Yu Longhai,Luo Chenjie,Wang Xiaoping,Liang Yiyong
DOI: https://doi.org/10.3969/j.issn.1009-623X.2012.02.006
2012-01-01
Abstract:Programs written in assembly language code are incomprehensible and prone to the risk of register memory conflict.Through the introduction of variable definitions,standardized subroutine,interrupt function write structured assembly language programming ideas,we can solve the compilation of the above problems.In this paper,through the design of assembler Tetris game,including the definition of variables,subroutines and interrupt function,we research the structured assembly language design and specific methods,detailed the specific software application methods of Tetris and test results.The structured theory of assembly language programming is an important guide and reference to a large assembler program.