Home > Back-end >  Ask a question - about microcomputer principle
Ask a question - about microcomputer principle

Time:09-29

BUF DB 20 h, h, 30, 40 h

Which statement, three types of Bybe how data is stored? Consult, thank you very much,

CodePudding user response:

Assembly, estimate asked not to come out here,
Define the three characters, respectively is 20 h, h, 30, 40 h, represents the space, the number 0, character @,

CodePudding user response:

BUF DB 20 h, h, 30, 40 h

Instructions are as follows:
First analysis find keywords DB is given to illustrate the data definition directive line, line not line, defines the data type of the DB that byte type, that is behind the initial data, each initial allocation a byte, order allocation,
And then find a custom before the DB identifier BUF, that is to say, this one or a set of data named BUF
Finally, the total number of three initial value, a comma, shows BUF variable distribution of the three bytes in the form of an array, storage of the three data elements, each element is a byte type
  • Related