글 수 36
blkb 명령어는 실질적인 데이터는 생성하지 않는다. 다만 blkb 다음에 오는 상수 값 만큼 메모리를 할당 해준다. 즉 현재 location counter에서 할당 된 상수 만큼 더해진다. 그 할당 된 메모리는 0으로 초기화 되며 0 ~ 65535 만큼 할당 할 수 있다.
example
BLKB 44 ; Reseves 44 bytes of memory
blkb 명령어 말고 blkw, blkl 이라는 명령어도 똑같은 용도로 사용되지만 blkw는 2byte이고 blkl은 4byte 이다.
BLKW 200 ; Reserves 200 words(400 bytes) of memory
example
BLKB 44 ; Reseves 44 bytes of memory
blkb 명령어 말고 blkw, blkl 이라는 명령어도 똑같은 용도로 사용되지만 blkw는 2byte이고 blkl은 4byte 이다.
BLKW 200 ; Reserves 200 words(400 bytes) of memory