← Back to team overview

gnusim8085-devel team mailing list archive

[Bug 681157] Re: ds pseudo instruction - invalid size checking

 

** Changed in: gnusim8085
    Milestone: None => 1.3.8

-- 
You received this bug notification because you are a member of
GNUSim8085 developers, which is subscribed to gnusim8085.
https://bugs.launchpad.net/bugs/681157

Title:
  ds pseudo instruction - invalid size checking

Status in gnusim8085:
  New

Bug description:
  consider the following program:
  ; ------------------------
  jmp start
  data0: ds 10 ; allocate 10 bytes 
  data1: ds  100; allocate 100 bytes
  data2: ds 1000; allocate 1000 bytes (causes "DS:Exceeded limit" message)

  data3: ds 500; allocates only 244 bytes of memory - according the
  assember listing view, without causing an error message

  start: hlt
  ; -------------------------

  http://www.cs.otago.ac.nz/cosc243/lectures/asm_dir.pdf



References