Author Topic: Pseudo-Instructions: do - What's the meaning ?  (Read 5572 times)

Offline mik

  • Jr. Member
  • *
  • Posts: 5
Pseudo-Instructions: do - What's the meaning ?
« on: May 18, 2010, 04:00:58 AM »
hi, everyone

Pseudo-Instructions: do
What's the meaning ?

thx

Offline Bryant Keller

  • Forum Moderator
  • Full Member
  • *****
  • Posts: 360
  • Country: us
    • About Bryant Keller
Re: Pseudo-Instructions: do - What's the meaning ?
« Reply #1 on: May 18, 2010, 04:58:09 AM »
do - define oword
an oword is an 8-byte data type.

Code: [Select]
SECTION .data
blah do 0

is the same as

Code: [Select]
SECTION .data
blah db 0,0,0,0,0,0,0,0

About Bryant Keller
bkeller@about.me

Offline mik

  • Jr. Member
  • *
  • Posts: 5
Re: Pseudo-Instructions: do - What's the meaning ?
« Reply #2 on: May 18, 2010, 06:11:39 AM »
do - define oword
an oword is an 8-byte data type.

Code: [Select]
SECTION .data
blah do 0

is the same as

Code: [Select]
SECTION .data
blah db 0,0,0,0,0,0,0,0

i know..
but, NASM Manual said:  DT, DO and DY do not accept numeric constantsas operands.

and nasm occur error:

error: integer suppild to a DT, DO or DY instruction

Offline mik

  • Jr. Member
  • *
  • Posts: 5
Re: Pseudo-Instructions: do - What's the meaning ?
« Reply #3 on: May 18, 2010, 06:15:22 AM »
AND the question:
DT, DO, DY  -- how to use?

thx

Offline Keith Kanios

  • Full Member
  • **
  • Posts: 383
  • Country: us
    • Personal Homepage
Re: Pseudo-Instructions: do - What's the meaning ?
« Reply #4 on: May 18, 2010, 06:37:57 AM »

Offline mik

  • Jr. Member
  • *
  • Posts: 5

Offline Keith Kanios

  • Full Member
  • **
  • Posts: 383
  • Country: us
    • Personal Homepage
Re: Pseudo-Instructions: do - What's the meaning ?
« Reply #6 on: May 18, 2010, 10:27:47 PM »
and  DY ?

I would imagine the same, except being 256-bit for the YMM registers... where-as DO is 128-bit.