Z80

DIM文及びPEEK/POKE文を実装

2012年7月30日

KM-BASICに、DIM文及びPEEK/POKE文を実装した。

2012-07-30-dim.png

2012-07-30-peekpoke.png

これらの機能は、文法的には異なるが、機能としては似通っている。DIM文では、指定された長さの領域のメモリが確保され、そのメモリへのポインタが変数に代入される。Cにおける、(int*)のように、働く。ここでintは16ビット整数であるので、配列の使用は、16ビット整数値のメモリへの読み書きと同義である。他方、PEEK()とPOKE()は、8ビット整数の読み書きに相当する。

「DIM A(10)」と記述すると、A(0)からA(10)までの、11個の変数が確保される。従って、添え字を0から始めても1から始めても、問題なく動作する。

コメント

ralph lauren outlet (2018年10月29日 13:00:11)

http://www.monclerjacketwomens.us.com/ moncler jacket womens
http://www.northface-jacket.us.com/ womens north face jacket
http://www.chromeheartsjewelrys.us.com/ chrome hearts ring
http://www.moncler-coat.us.com/ moncler
http://www.airmax-2018.us.com/ air max 2018
http://www.swarovskis.us.com/ swarovski earrings
http://www.birkenstock--sandals.us.com/ birkenstock sandals
http://www.balenciagas-sneakers.us.com/ balenciaga
http://www.nikeair-max90.co.uk/ nike air max
http://www.katespadepurses.us.com/ kate spade purses
http://www.goyardbackpack.us.com/ goyard
http://www.asicss.us.com/ asics running shoes
http://www.nikeairmax-95.us.com/ nike air max 95 mens
http://www.adidasyeezy-350.us.com/ yeezy boost 350
http://www.swarovskisjewelry.us.com/ swarovski pen
http://www.rayban--glasses.us.com/ ray ban eyeglasses
http://www.mcm--bags.us.com/ mcm
http://www.eccoshoesoutlets.us.com/ ecco mens shoes
http://www.michael-kors-bags.us.com/ michael kors bags
http://www.monclers.uk/ moncler coat
http://www.uggs-forwomen.us.com/ uggs on sale
http://www.salomon-boots.us.com/ salomon speedcross 3
http://www.airmax90shoes.us.com/ nike air max 95
http://www.monclerjacket.org.uk/ moncler coat
http://www.ray--ban.us.com/ ray ban prescription sunglasses
http://www.prada--bags.us.com/ prada handbags
http://www.chromehearts-jewelry.us.com/ chrome hearts clothing
http://www.james-hardenshoes.us.com/ harden vol 2
http://www.nikeairmax-90.us.com/ nike vapormax
http://www.ultra--boost.us.com/ ultra boost
http://www.pandorajewelryscharms.us.com/ pandora jewelry official site
http://www.nike-airmax270.us.com/ air max
http://www.air-max-90.us.com/ nike air max
http://www.supremeshirt.us.com/ supreme clothing
http://www.adidas-superstarshoes.us.com/ adidas superstar mens
http://www.redbottoms-louboutin.us.com/ louboutin shoes
http://www.salomonspeedcross3.us.com/ salomon speedcross 4
http://www.ralphlaurenspoloshirts.us.com/ ralph lauren
http://www.uggs--boots.us.com/ uggs on sale
http://www.ugg--slippers.us.com/ uggs on sale
http://www.montblancs.us.com/ mont blanc sale
http://www.skechersuk.co.uk/ skechers boots
http://www.adidas--shoes.co.uk/ adidas boost
http://www.nike--vapormax.us.com/ nike air vapormax flyknit
http://www.adidasnmd-womens.us.com/ adidas nmd
http://www.pandora--rings.us.com/ Pandora Charms
http://www.pandorasjewelry.co.uk/ pandora rings
http://www.moncler--jacket.us.com/ moncler jacket mens
http://www.burberry-bags.us.com/ burberry
http://www.yeezyboost350v2.co.uk/ yeezy shoes
http://www.pandora-charmsjewelry.us.com/ pandora earrings
http://www.asics--shoes.us.com/ asics mens running shoes
http://www.cartier-bracelet.us.com/ cartier glasses
http://www.burberrys.org.uk/ burberry scarf
http://www.prada--handbags.us.com/ prada
http://www.mulberrys.org.uk/ mulberry purse
http://www.nike-airmax-2018.us.com/ air max 2018
http://www.celines.us.com/ celine,celine bag
http://www.pandora-jewelrysale.us.com/ pandora charms
http://www.oakley--glasses.us.com/ oakley glasses
http://www.katespade--outlet.us.com/ kate spade handbags
http://www.hermesbirkin-handbags.us.com/ Hermes Belts
http://www.pumarihannafenty.us.com/ fenty puma shoes
http://www.longchampbackpack.us.com/ longchamp backpack
http://www.air-max-97.us.com/ air max 97 mens
http://www.jordan11.co.uk/ jordan 11 space jam
http://www.nike-huaraches.us.com/ huarache shoes
http://www.pandoras-uk.co.uk/ pandora charms
http://www.valentino--shoes.us.com/ valentino heels
http://www.truereligion--jeans.us.com/ true religion jeans men
http://www.ferragamoshoess.us.com/ salvatore ferragamo
http://www.barbours.org.uk/ barbour
http://www.salomon--shoes.us.com/ Salomon Boots
http://www.kyrie-4.us.com/ kyrie irving shoes
http://www.coach--bags.us.com/ coach purses
http://www.mbts.us.com/ mbt womens shoes
http://www.vapormaxs.us.com/ nike vapormax
http://www.new--balance.us.com/ new balance 574
http://www.lebron15-shoes.us.com/ lebron 14
http://www.michaelkors-handbagss.us.com/ michael kors purse
http://www.ray--bansunglassess.us.com/ ray ban prescription sunglasses
http://www.pandoras-jewelrys.us.com/ pandora
http://www.adidas-yeezy-shoes.us.com/ Yeezy
http://www.lacosteshirts.us.com/ lacoste
http://www.barbourjackets.co.uk/ barbour wax jacket
http://www.katespadebags.us.com/ kate spade outlet
http://www.adidasoriginalsnmd.us.com/ nmd
http://www.jimmychooheels.us.com/ jimmy choo heels
http://www.nikeairmax270.org.uk/ air max 270
http://www.chrome--hearts.us.com/ chrome hearts sunglasses
http://www.jordanretro11-shoes.us.com/ jordan shoes
http://www.true--religion.us.com/ true religion jeans men
http://www.pandorauk.us.com/ pandora rings
http://www.nikeair-max.co.uk/ nike air max 95
http://www.ed-hardys.us.com/ ed hardy jeans
http://www.rayban-glasses.us.com/ ray ban eyeglasses
http://www.fitflop--shoes.us.com/ fitflop
http://www.pandorajewelryrings.us.com/ pandora rings
http://www.salvatore-ferragamo.us.com/ ferragamo shoes
http://www.oakley--sunglassess.us.com/ oakley sunglasses
http://www.louboutinredbottoms.us.com/ christian louboutin shoes
http://www.airmax95.co.uk/ nike air max 95
http://www.under-armour-shoes.us.com/ stephen curry shoes
http://www.fitflops-sale.us.com/ fitflops clearance
http://www.longchampbag.us.com/ longchamp le pliage
http://www.bvlgaris.us.com/ bvlgari wallet
http://www.air-max-95.us.com/ air max 95 black
http://www.mcms.us.com/ mcm
http://www.birkenstocksandalssale.us.com/ birkenstock shoes
http://www.nikeairvapormaxflyknit.us.com/ nike air max 90
http://www.adidasnmdrunnerr1.us.com/ yeezy boost 350
http://www.mulberry-handbags.us.com/ mulberry bag
http://www.pandora-jewelrybracelet.us.com/ pandora rings
http://www.burberry--scarf.us.com/ burberry handbags
http://www.adidasnmds.co.uk/ adidas nmd womens
http://www.hermes--belt.us.com/ hermes
http://www.airjordan11spacejam.us.com/ jordan retro 11
http://www.supreme--clothing.us.com/ supreme shoes
http://www.nikelebron15.us.com/ lebron shoes
http://www.uggsformen.us.com/ uggs for men
http://www.balenciaga--shoes.us.com/ balenciaga bag
http://www.jordans11shoes.us.com/ jordan 11 retro
http://www.yeezyboost350--v2.us.com/ yeezy boost 350
http://www.yeezyboost350shoes.us.com/ adidas yeezy
http://www.kd10-shoes.us.com/ kd 9
http://www.skechers--shoes.us.com/ skechers women
http://www.redbottom--shoes.us.com/ christian louboutin
http://www.curry4-shoes.us.com/ curry shoes
http://www.northfacejacketoutlets.us.com/ north face coats
http://www.adidasoriginalsultraboost.us.com/ ultra boost
http://www.adidas-yeezyboost350.us.com/ yeezy shoes
http://www.stephen-curry-shoes.us.com/ curry shoes
http://www.jordan--11.us.com/ jordan retro
http://www.christianlouboutinredbottoms.us.com/ christian louboutin
http://www.salomonshoes.co.uk/ salomon xa pro 3d
http://www.kevin-durant-shoes.us.com/ kd 10
http://www.nikekdshoes.us.com/ kd 10
http://www.air-max-270.us.com/ air max 270
http://www.skecherss.us.com/ skechers uk
http://www.nike--shoes.co.uk/ nike air max 90
http://www.coachbags-outlet.us.com/ coach
http://www.airmax270.co.uk/ nike vapormax
http://www.goyardbag.us.com/ goyard tote
http://www.huaraches.us.com/ huaraches
http://www.adidas-ultraboost.us.com/ ultra boost
http://www.fitflopsshoes.us.com/ fitflop sale
http://www.fitflop--sandals.us.com/ fitflop
http://www.ralphlauren--polo.us.com/ polo ralph lauren
http://www.pandora--jewelrys.us.com/ pandora rings
http://www.pandoraearrings.us.com/ pandora rings
http://www.polo-ralphlauren-outlet.us.com/ ralph lauren polo shirts
http://www.adidasyeezys.org.uk/ yeezy
http://www.monclerjacketmens.us.com/ moncler jacket womens
http://www.nikeairmax-97.us.com/ nike air max 97
http://www.kyrie-irving-shoes.us.com/ kyrie 4
http://www.nikeairmax97.co.uk/ air max 97
http://www.polo-ralph-lauren.org.uk/ ralph lauren polo shirts
http://www.jordan11spacejams.us.com/ jordan 11
日常を思い

コメント送信