text
stringlengths
1
1.05M
; A314753: Coordination sequence Gal.4.52.2 where G.u.t.v denotes the coordination sequence for a vertex of type v in tiling number t in the Galebach list of u-uniform tilings. ; 1,5,9,13,19,23,27,32,37,41,45,51,55,59,64,69,73,77,83,87,91,96,101,105,109,115,119,123,128,133,137,141,147,151,155,160,165,169,173,179,183,18...
// Copyright David Abrahams 2002. // Distributed under the Boost Software License, Version 1.0. (See // accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) #ifndef ARGS_FWD_DWA2002927_HPP # define ARGS_FWD_DWA2002927_HPP # include <boost/python/detail/prefix.hpp> # include <...
%include "struct.inc" ;In this file,we don't need interrupt_table_addr in struct.inc ORG 0x100 CLI MOV AX,0 MOV ES,AX MOV AX,CS MOV word [ES:(0x08*4)],timer_intrrrupt;Offset MOV word [ES:(0x08*4+2)],AX;Segment MOV word [ES:(0x09*4)],keyboard_interrupt;Offset MOV word [ES:(0x09*4+2)],AX;Segment MOV word [ES:(0x21*4)],do...
; A032918: Numbers whose set of base-11 digits is {1,3}. ; Submitted by Simon Strandgaard ; 1,3,12,14,34,36,133,135,155,157,375,377,397,399,1464,1466,1486,1488,1706,1708,1728,1730,4126,4128,4148,4150,4368,4370,4390,4392,16105,16107,16127,16129,16347,16349,16369,16371,18767,18769,18789,18791,19009,19011,19031,19033,4538...
; A001654: Golden rectangle numbers: F(n)*F(n+1), where F(n) = A000045(n) (Fibonacci numbers). ; 0,1,2,6,15,40,104,273,714,1870,4895,12816,33552,87841,229970,602070,1576239,4126648,10803704,28284465,74049690,193864606,507544127,1328767776,3478759200,9107509825,23843770274,62423800998,163427632719,427859097160,112014965...
INCLUDE "config_zxn_private.inc" SECTION code_user PUBLIC _load_snap PUBLIC _load_nex defc MAX_NAME_LEN = 48 ;;;;;;;;;;;;;;;;;;;;;; ; void load_snap(void) ;;;;;;;;;;;;;;;;;;;;;; _load_snap: ld sp,(__SYSVAR_ERRSP) call close_dot_handle ; place reclaim_stub on stack ; addr of reclaim_stub left on stac...
SECTION code_clib PUBLIC res_MODE0 .res_MODE0 ld a,l cp 48 ret nc ld a,h cp 64 ret nc defc NEEDunplot = 1 INCLUDE "graphics/generic_console/pixel6.asm"
############################################################################### # Copyright 2018 Intel Corporation # All Rights Reserved. # # If this software was obtained under the Intel Simplified Software License, # the following terms apply: # # The source code, information and material ("Material") containe...
/* This file is part of the Pangolin Project. * http://github.com/stevenlovegrove/Pangolin * * Copyright (c) 2011 Steven Lovegrove * * Permission is hereby granted, free of charge, to any person * obtaining a copy of this software and associated documentation * files (the "Software"), to deal in the Software wit...
public print_number, calc_all, calc_rank, print_all, calc_suggestion_level print_newline macro push ax push dx mov ah, 02h mov dl, 13 int 21h mov ah, 02h mov dl, 10 int 21h pop dx pop ax endm print macro string push ax push dx...
page ,132 TITLE UIFILEIO - low level file io routines. ;*** ;UIFILEIO - low level file io routines. ; ; Copyright <C> 1988, Microsoft Corporation ; ;Purpose: ; ; ;******************************************************************************* .xlist include version.inc ...
; End-of-text marker for print_string_* eot = 128 ; Select mode A and turn the cursor off. ; TODO: It's annoying that the cursor is briefly visible when doing this. ; Waiting for VSYNC doesn't seem to help. It might be possible to work around ; this by programming the CRTC directly instead of going via the OS. .set_mo...
/******************************************************************** Copyright 2016-2018 Tang, Wenyi. All Rights Reserved. Description Using MediaSDK in Android as the codec Author : Wenyi Tang Email : wenyi.tang@intel.com Created : Mar. 16th, 2017 *****************************************************...
; void balloc_free(void *m) SECTION code_clib SECTION code_alloc_balloc PUBLIC balloc_free EXTERN asm_balloc_free defc balloc_free = asm_balloc_free
; A067187: Numbers that can be expressed as the sum of two primes in exactly one way. ; 4,5,6,7,8,9,12,13,15,19,21,25,31,33,39,43,45,49,55,61,63,69,73,75,81,85,91,99,103,105,109,111,115,129,133,139,141,151,153,159,165,169,175,181,183,193,195,199,201,213,225,229,231,235,241,243,253,259,265,271 mov $1,$0 sub $0,6 max $0...
; A083043: Integers y such that 11*x^2 - 9*y^2 = 2 for some integer x. ; Submitted by Jon Maiga ; 1,21,419,8359,166761,3326861,66370459,1324082319,26415275921,526981436101,10513213446099,209737287485879,4184232536271481,83474913437943741,1665314036222603339,33222805811014123039,662790802184059857441,1322259323787018302...
; A309355: Even numbers k such that k! is divisible by k*(k+1)/2. ; Submitted by Jamie Morken ; 8,14,20,24,26,32,34,38,44,48,50,54,56,62,64,68,74,76,80,84,86,90,92,94,98,104,110,114,116,118,120,122,124,128,132,134,140,142,144,146,152,154,158,160,164,168,170,174,176,182,184,186,188,194,200,202,204,206 add $0,2 mov $1,3...
;*************************************************************************** ; DEFINE SECTION ;*************************************************************************** ; load vectrex bios routine definitions INCLUDE "VECTREX.I" ; vectrex function includes ;**********************...
; A040139: Continued fraction for sqrt(152). ; 12,3,24,3,24,3,24,3,24,3,24,3,24,3,24,3,24,3,24,3,24,3,24,3,24,3,24,3,24,3,24,3,24,3,24,3,24,3,24,3,24,3,24,3,24,3,24,3,24,3,24,3,24,3,24,3,24,3,24,3,24,3,24,3,24,3 pow $0,4 mov $1,$0 trn $0,4 sub $0,4 gcd $1,$0 mul $1,3
; 8080 assembler code .hexfile PrintNumbers.hex .binfile PrintNumbers.com ; try "hex" for downloading in hex format .download bin .objcopy gobjcopy .postbuild echo "OK!" ;.nodump ; OS call list PRINT_B equ 1 PRINT_MEM equ 2 READ_B equ 3 READ_MEM equ ...
/** * Copyright (c) 2020 Intel Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
6E_Header: sHeaderInit ; Z80 offset is $CA00 sHeaderPatch 6E_Patches sHeaderTick $01 sHeaderCh $01 sHeaderSFX $80, $05, 6E_FM5, $00, $00 6E_FM5: sPatFM $00 dc.b nD0, $0D 6E_Loop1: dc.b nD0, $0D saVolFM $15 sLoop $00, $04, 6E_Loop1 sStop 6E_Patches: ; Patch $00 ; $54 ; $48, $02, $03, $01, $1F, ...
; A102711: Numbers k such that 11*k + 7 is prime. ; Submitted by Christian Krause ; 0,2,6,12,20,24,26,30,32,44,50,54,66,74,80,86,90,92,96,102,104,110,116,120,132,134,146,150,156,162,164,170,180,186,194,200,204,206,212,216,240,246,254,272,282,300,302,306,314,320,324,326,330,332,342,356,360,362,372,384,386,390,396,404,41...
; A105531: Decimal expansion of arctan 1/3. ; Submitted by Jon Maiga ; 3,2,1,7,5,0,5,5,4,3,9,6,6,4,2,1,9,3,4,0,1,4,0,4,6,1,4,3,5,8,6,6,1,3,1,9,0,2,0,7,5,5,2,9,5,5,5,7,6,5,6,1,9,1,4,3,2,8,0,3,0,5,9,3,5,6,7,5,6,2,3,7,4,0,5,8,1,0,5,4,4,3,5,6,4,0,8,4,2,2,3,5,0,6,4,1,3,7,4,4 mov $1,1 mov $2,1 mov $3,$0 mul $3,4 lpb $3 mu...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r15 push %r9 push %rax push %rbx push %rcx push %rdi push %rsi lea addresses_WT_ht+0xfb5e, %rsi lea addresses_UC_ht+0xd5c4, %rdi nop sub $26490, %r10 mov $116, %rcx rep movsw cmp $15276, %r15 lea addresses_D_ht+0x94f6, %rbx nop cmp %r9, %r9 and $0xfffffffffff...
; A138420: a(n) = ((prime(n))^4-(prime(n))^2)/4. ; 3,18,150,588,3630,7098,20808,32490,69828,176610,230640,468198,706020,854238,1219368,1971918,3028470,3460530,5036658,6351660,7098228,9735960,11862858,15683580,22129968,26012550,28135068,32767038,35286570 cal $0,60429 ; a(n) = 4*prime(n)^2+1. sub $1,$0 sub $0,3 add $1,1...
; A246104: Least m > 0 for which (s(m), ..., s(n+m-1) = (s(0), ..., s(n)), the first n+1 terms of the infinite Fibonacci word A003849. ; 2,3,5,5,8,8,8,13,13,13,13,13,21,21,21,21,21,21,21,21,34,34,34,34,34,34,34,34,34,34,34,34,34,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,89,89,89,89,89,89,89,89,89,8...
// Copyright (c) 2014-2020 The D@sh Core developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "governance-object.h" #include "core_io.h" #include "governance-classes.h" #include "governance-validators.h" #incl...
; float cbrt(float x) SECTION code_fp_math48 PUBLIC cm48_sdcciy_cbrt EXTERN cm48_sdcciy_cbrt_fastcall cm48_sdcciy_cbrt: pop af pop hl pop de push de push hl push af jp cm48_sdcciy_cbrt_fastcall
// This file is part of RAVL, Recognition And Vision Library. // Copyright (C) 2009, OmniPerception Ltd // This code may be redistributed under the terms of the GNU Lesser // General Public License (LGPL). See the lgpl.licence file for details or // see http://www.gnu.org/copyleft/lesser.html // file-header-ends-here #...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r15 push %r8 push %rcx push %rdi push %rdx push %rsi lea addresses_D_ht+0x19fd1, %rsi lea addresses_normal_ht+0x2c51, %rdi nop nop nop sub %r10, %r10 mov $118, %rcx rep movsq nop nop inc %r15 lea addresses_WC_ht+0x1a791, %rsi lea addresses_A_ht+0x7d...
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) GeoWorks 1992 -- All Rights Reserved PROJECT: PC GEOS MODULE: FILE: bsProcess.asm AUTHOR: Chris Boyke ROUTINES: Name Description ---- ----------- REVISION HISTORY: Name Date Description ---- ---- ---...
// Copyright 2016 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "third_party/blink/renderer/core/animation/css_interpolation_type.h" #include <memory> #include <utility> #include "base/memory/ptr_util.h" #in...
SECTION .text ; Load GDT and set selectors for a flat memory model. load_gdt: cli ; Make sure that interrupts are disabled at this point. lgdt [gdt_desc] ; Load the GDT. jmp CODE_SEG:.fill_seg_reg ; Implicitly set CS register via far JMP to the. .fill_seg_reg: ...
; A044162: Numbers n such that string 3,3 occurs in the base 7 representation of n but not of n-1. ; Submitted by Jamie Morken(s2.) ; 24,73,122,168,220,269,318,367,416,465,511,563,612,661,710,759,808,854,906,955,1004,1053,1102,1151,1176,1249,1298,1347,1396,1445,1494,1540,1592,1641,1690,1739,1788,1837,1883,1935,1984 mo...
SECTION "sec", ROM0 db BANK(noexist)
AREA RESET,DATA,Readonly EXPORT __Vectors __Vectors DCD 0x40000000 DCD Reset_Handler ALIGN AREA mycode,Code,Readonly ENTRY EXPORT Reset_Handler Reset_Handler LDR R0,=NUM1 LDR R5,RESULT MOV R4,#8 UP LDRB R1,[R0],#4 AND R1,#0X0F ADD R1,#0X30 SUB R4,#1 BNE UP STOP B STOP NUM1 DCD...
.MODEL SMALL .STACK 100H .DATA PROMPT DB "Upper-case letter from A to Z are-$" .CODE MAIN PROC MOV AX, @DATA MOV DS, AX LEA DX, PROMPT MOV AH, 9 INT 21H MOV CX, 26 MOV AH, 2 MOV DL, 65 @LOOP: INT 21H INC DL DEC CX JNZ @LOOP ...
; A005892: Truncated square numbers: 7*n^2 + 4*n + 1. ; 1,12,37,76,129,196,277,372,481,604,741,892,1057,1236,1429,1636,1857,2092,2341,2604,2881,3172,3477,3796,4129,4476,4837,5212,5601,6004,6421,6852,7297,7756,8229,8716,9217,9732,10261,10804,11361,11932,12517,13116,13729,14356,14997,15652,16321,17004,17701,18412,19137,1...
; A292893: E.g.f.: exp(x * (1 - exp(x))). ; Submitted by Christian Krause ; 1,0,-2,-3,8,55,84,-637,-4992,-10593,92060,1012099,3642000,-18733585,-354606084,-2157876645,2003383424,175455790399,1766183783868,5436448194707,-96997103373360,-1770215099996721,-13073420293290148,22275369715313131,1919483837248530432,2572740950...
.global s_prepare_buffers s_prepare_buffers: push %r13 push %r15 push %rbp push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_UC_ht+0x11260, %r13 nop nop nop sub %rbp, %rbp movl $0x61626364, (%r13) sub $48578, %r15 lea addresses_WT_ht+0x15ab0, %rsi sub $56955, %rdx mov $0x6162636465666768, %rbx movq %rbx, ...
; Learn Multi platform Z80 Assembly Programming... With Vampires! ;Please see my website at www.chibiakumas.com/z80/ ;for the 'textbook', useful resources and video tutorials ;File Multiplatform Bitmap Fonts ;Version V1.0 ;Date 2018/6/13 ;Content Simulates firmware font functions using a 2 bit Bitmap font o...
; Copyright Oliver Kowalke 2009. ; Distributed under the Boost Software License, Version 1.0. ; (See accompanying file LICENSE_1_0.txt or copy at ; http://www.boost.org/LICENSE_1_0.txt) ; ---------------------------------------------------------------------------------- ; | 0 | 1 ...
#include "cmp_enemyAi.h" #include "levelsystem.h" using namespace sf; using namespace std; static const Vector2i directions[] = { { 1, 0 },{ 0, 1 },{ 0, -1},{ -1, 0} }; EnemyAICom::EnemyAICom(Entity* p) : _direction(directions[(rand() % 4)]), _state(ROAMING), ActorMovementComponent(p) { } void EnemyAICom::update(f...
_zombie: file format elf32-i386 Disassembly of section .text: 00000000 <main>: #include "stat.h" #include "user.h" int main(void) { 0: 55 push %ebp 1: 89 e5 mov %esp,%ebp 3: 83 e4 f0 and $0xfffffff0,%esp 6: 83 ec 10 sub $0x10,%...
; A026848: a(n) = T(2n,n-4), T given by A026736. ; Submitted by Christian Krause ; 1,11,79,471,2535,12809,62067,292085,1345718,6102780,27343148,121359692,534632836,2341151646,10201950700,44278673806,191540714294,826265471868,3555992623850,15273547250820,65491352071266,280412963707416,1199139733653938,5122386805967008,2...
; ; Size-optimized LZSA2 decompressor by spke (v.1 02-09/06/2019, 140 bytes); ; with improvements by uniabis (30/07/2019, -1 byte, +3% speed and support for Hitachi HD64180). ; ; The data must be compressed using the command line compressor by Emmanuel Marty ; The compression is done as follows: ; ; lzsa.ex...
.data TIME: .space 12 # 3 * (4 bytes) <--> three memory words (blocks) to store day, month and year TIME_1: .space 12 TIME_2: .space 12 new_line: "\n" input_day: .asciiz "Nhap ngay DAY: " input_month: .asciiz "Nhap thang MONTH: " input_year: .asciiz "Nhap nam YEAR: " intro_string: .asciiz ...
; A269876: Number of active (ON,black) cells in n-th stage of growth of two-dimensional cellular automaton defined by "Rule 43", based on the 5-celled von Neumann neighborhood. ; 1,5,5,37,13,97,25,185,41,301,61,445,85,617,113,817,145,1045,181,1301,221,1585,265,1897,313,2237,365,2605,421,3001,481,3425,545,3877,613,4357,...
INCBIN "data.bin", 123, 0
;Palindrome check org 100h mov si,offset input ;load starting address of str into si mov di,end ;load last address of str into di mov ax,len ;load length into ax cmp ax,0001h ;if string length is 0 or 1, string is a palindrome jle done ...
; empty ASM file just to trigger the help option tests ; The test itself is written in the CLI file as bash script
// Copyright 2019 Proyectos y Sistemas de Mantenimiento SL (eProsima). // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless re...
; A025997: Expansion of 1/((1-2x)(1-5x)(1-8x)(1-9x)). ; Submitted by Jon Maiga ; 1,24,375,4850,56481,616164,6434155,65146950,644889861,6275802104,60272841135,572861926650,5399415089641,50546032304844,470534835243315,4359828735795950,40238834684119821,370153792218396384 mov $1,1 mov $2,$0 mov $3,$0 lpb $2 mov $0,$3 ...
; unsigned char esx_f_open_p3(unsigned char *filename,unsigned char mode,struct esx_p3_hdr *h) SECTION code_esxdos PUBLIC _esx_f_open_p3 EXTERN l0_esx_f_open_p3_callee _esx_f_open_p3: pop bc pop hl dec sp pop af pop de push de push af inc sp push hl push bc jp l0_esx_f_open_p3...
main: add $s1 $zero $zero # (comentario) bne $t0 $zero exit addi $t0 $zero 6 addi $t1 $zero 12 # (comentario) sw $t0, 23($t1) j volta addi $t2 $zero 3 and $s1, $s2, $zero slt $s1, $s2, $zero volta: beq $t0 $zero exit sub $s0 $s0 $t1 lw $t0, -42($t1) add $t1 $t1 $t2 jr $ra ad...
CeladonCity_h: db OVERWORLD ; tileset db CELADON_CITY_HEIGHT, CELADON_CITY_WIDTH ; dimensions (y, x) dw CeladonCity_Blocks ; blocks dw CeladonCity_TextPointers ; texts dw CeladonCity_Script ; scripts db WEST | EAST ; connections WEST_MAP_CONNECTION CELADON_CITY, ROUTE_16, 4, 0, Route16_Blocks EAST_MAP_CONNECTIO...
SFX_Battle_22_Ch7: noisenote 2, 13, 2, 50 noisenote 15, 15, 2, 67 endchannel
; ; OSCA C Library ; ; ANSI Video handling ; ; BEL - chr(7) Beep it out ; ; ; Stefano Bodrato - June 2012 ; ; ; $Id: f_ansi_bel.asm,v 1.5 2016-06-12 16:06:42 dom Exp $ ; SECTION code_clib PUBLIC ansi_BEL INCLUDE "osca.def" INCLUDE "flos.def" .ansi_BEL di ld hl,0 ld e,2 call kjt_read_s...
_env: file format elf32-i386 Disassembly of section .text: 00000000 <main>: #include "user.h" char *envp[] = environ; int main(int argc, char *argv[]){ //char *envData; int i = 0; for(i=0;envp[i]>0;i++){ 0: a1 18 0a 00 00 mov 0xa18,%eax 5: 85 c0 test %eax,%eax 7: 74 3c...
#pragma once #include <SFML/Graphics.hpp> #include "space_object.hpp" #include "../definitions/celestial_body_definition.hpp" namespace space { class Engine; class CelestialBody : public SpaceObject { public: // Fields const CelestialBodyDefinition &celestialBodyDefinitio...
; ---------------------------------------------------------------- ; Z88DK INTERFACE LIBRARY FOR NIRVANA+ ENGINE - by Einar Saukas ; ; See "nirvana+.h" for further details ; ---------------------------------------------------------------- ; void NIRVANA_fillT(unsigned int attr, unsigned int lin, unsigned int col) ; ca...
SECTION code_driver SECTION code_driver_tty PUBLIC asm_tty_param_bbbb_action EXTERN asm_tty_state_get_4 EXTERN asm_tty_state_param_store asm_tty_param_bbbb_action: ; c = action code ; stack = & tty.action ; command code has one parameter and action is invoked ld de,asm_tty_state_get_4 jp asm_tty_...
// Copyright 2015 the V8 project authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "src/compiler/wasm-compiler.h" #include <memory> #include "src/base/optional.h" #include "src/base/platform/elapsed-timer.h" #include "src/ba...
db 0 ; species ID placeholder db 50, 48, 43, 60, 46, 41 ; hp atk def spd sat sdf db WATER, GROUND ; type db 190 ; catch rate db 92 ; base exp db NO_ITEM, NO_ITEM ; items db GENDER_F50 ; gender ratio db 100 ; unknown 1 db 20 ; step cycles to hatch db 5 ; unknown 2 INCBIN "gfx/pokemon/barboach/...
// Number of elements mov $256 -> rob@in0 loop: // i = i - 1 rob@out -> pu0@in0 mov $1 -> pu0@in1 mov (subN, 4) -> pu0@opc pu0@out -> rob@in0 pu0@out -> rob@in0 // 2 copies of mem[i] (ld, 2) -> lsu@opc st -> lsu@opc $0 -> lsu@in1 // load value pu0@out -> lsu@in0 // load ...
;; Based on code from http://nparker.llx.com/a2/mult.html ;; Signed 8-bit multiply. ;; Inputs: x and y ;; Outputs: high byte of value into a, full 16 bits in RESULT signed_mpy STX NUM1 STY NUM2 LDA NUM1 ;Compute sign of result EOR NUM2 PHP ;Sav...
; DV3 Standard Hard Disk Direct Sector Read (16 bit DMA/PIO)  1998 Tony Tebby section dv3 xdef hd_rdirect16 ; direct sector read (16 bit DMA/PIO) xref hd_rdirect ; direct sector read include 'dev8_dv3_keys' include 'dev8_dv3_hd_keys' ;+++ ; This routine reads a sector from a hard disk for direct sector I...
; DV3 MSDOS Format Table V3.00  1993 Tony Tebby ; adapted for FAT16 driver v3.01  W. Lenerz 2017 ; (I only removed the fat12 table) section dv3 xdef msd_table include 'dev8_mac_vec' include 'dev8_dv3_keys' ;+++ ; DV3 MSDOS Format Table 4 nibble FAT ; ;--- msd_table novec ; next dc.b ddf.msdos ; ...
/**************************************************************************** * Copyright (C) 2019 RoboMaster. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the ...
; void __CALLEE__ in_MouseKemp_callee(uchar *buttons, uint *xcoord, uint *ycoord) ; 09.2005 aralbrec XLIB in_MouseKemp_callee LIB INMouseKemp .in_MouseKemp_callee call INMouseKemp pop de pop hl ld (hl),a inc hl xor a ld (hl),a pop hl ld (hl),b inc hl ld (hl),a pop hl ld (hl),c ...
%macro print 2 mov rax,01; mov rdi,01; mov rsi,%1; mov rdx,%2; syscall; %endmacro %macro read 2 mov rax,00; mov rdi,00; mov rsi,%1; mov rdx,%2; syscall; %endmacro section .data dash: db 10,"-------------------------------------------",10; lenDash: equ $-dash; resMsg: db "!...
; A235347: Series reversion of x*(1-3*x^2)/(1-x^2) in odd-order powers. ; Submitted by Christian Krause ; 1,2,14,130,1382,15906,192894,2427522,31405430,415086658,5580629870,76080887042,1049295082630,14613980359010,205246677882078,2903566870820610,41337029956899222,591796707042765954,8514525059135909070,1230480631533624...
;------------------------------------------------------------------------------ ; ; Copyright (c) 2006, Intel Corporation. All rights reserved.<BR> ; This program and the accompanying materials ; are licensed and made available under the terms and conditions of the BSD License ; which accompanies this distribution...
; A109940: Largest k-digit multiple of n where k is the number of digits in n. ; Submitted by Jamie Morken(s1) ; 9,8,9,8,5,6,7,8,9,90,99,96,91,98,90,96,85,90,95,80,84,88,92,96,75,78,81,84,87,90,93,96,99,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,...
.include "pm_libs/pm_init.s" pm_header "TestFramebuf", IRQ_KEY_POWER, 0 ; Shutdown down when power key pressed irq_key_power: cint CINT_SHUTDOWN main: ; Enable interrupts enable_irqs IRQ_KEY_POWER | IRQ_PRC_COPY ; PRC_COPY declared to wake up HALT enable_mirq ; Blank LCD mov a, 0 cint CINT_TMP_CONTRAST ...
BITS 32 metodi EQU 0 SECTION .text EXTERN set_method GLOBAL laske_ala:function ;vastaa: double laske_ala(double). ST0 = ympyrän pinta-ala laske_ala: push ...
;******************************************************************************* ; * ; Microchip licenses this software to you solely for use with Microchip * ; products. The software is owned by Microchip and/or its licensors, an...
; A186111: a(n) = -n if n odd, a(2n) = 3n if n odd, a(4n) = 2n. ; Submitted by Jon Maiga ; 1,-3,3,-2,5,-9,7,-4,9,-15,11,-6,13,-21,15,-8,17,-27,19,-10,21,-33,23,-12,25,-39,27,-14,29,-45,31,-16,33,-51,35,-18,37,-57,39,-20,41,-63,43,-22,45,-69,47,-24,49,-75,51,-26,53,-81,55,-28,57,-87,59,-30,61,-93,63,-32,65,-99,67,-34,69...
; A077943: Expansion of 1/(1-2*x+2*x^2-2*x^3). ; 1,2,2,2,4,8,12,16,24,40,64,96,144,224,352,544,832,1280,1984,3072,4736,7296,11264,17408,26880,41472,64000,98816,152576,235520,363520,561152,866304,1337344,2064384,3186688,4919296,7593984,11722752,18096128,27934720,43122688 mov $1,2 mov $3,4 mov $4,2 lpb $0,1 sub $0,1 ...
; A137234: Expansion of g.f. 1/((1-x)^2*(1 - 3*x + 2*x^2 - x^3)). ; 1,5,16,43,107,257,607,1422,3318,7727,17978,41810,97214,226014,525439,1221519,2839710,6601549,15346765,35676927,82938821,192809396,448227496,1042002541,2422362052,5631308596,13091204252,30433357644,70748973053,164471408153,382349636028,888855064863,2066...
; ;================================================================================================== ; ZETA STANDARD CONFIGURATION ;================================================================================================== ; #include "cfg_zeta.asm" ; PPIDEENABLE .SET FALSE ; TRUE FOR PPIDE DEVICE SUP...
; A042779: Denominators of continued fraction convergents to sqrt(920). ; Submitted by Jon Maiga ; 1,3,181,546,32941,99369,5995081,18084612,1091071801,3291300015,198569072701,598998518118,36138480159781,109014438997461,6577004820007441,19840028899019784,1196978738761194481,3610776245182603227,217843553449717388101,6571...
; float log1p(float x) __z88dk_fastcall SECTION code_fp_math48 PUBLIC cm48_sdcciy_log1p_fastcall EXTERN cm48_sdcciyp_dx2m48, am48_log1p, cm48_sdcciyp_m482d cm48_sdcciy_log1p_fastcall: call cm48_sdcciyp_dx2m48 call am48_log1p jp cm48_sdcciyp_m482d
.byte $00 ; Unknown purpose .byte OBJ_AUTOSCROLL, $04, $31 .byte OBJ_BOO, $0C, $11 .byte OBJ_BOO, $1E, $11 .byte $FF ; Terminator
; A190157: Decimal expansion of (1+sqrt(-1+2*sqrt(5)))/2. ; Submitted by Christian Krause ; 1,4,3,1,6,8,3,4,1,6,5,9,0,5,7,9,2,5,3,0,7,9,5,6,9,1,3,3,4,9,0,7,3,5,1,9,9,4,1,0,4,5,4,3,4,4,6,2,4,7,3,6,8,2,6,7,6,1,9,3,5,3,9,7,1,3,4,8,2,8,1,4,7,4,6,4,4,3,4,9,4,5,7,5,8,8,1,4,2,8,2,2,8,5,2,9,7,7,1,8 mov $1,1 mov $3,$0 mul $3,4...
; Intel i8254x-series Network Driver for xOS ; Heavily based on BareMetal i8254x driver, by Ian Seyler ; https://github.com/ReturnInfinity/BareMetal-OS use32 ; Register list I8254X_REG_CTRL = 0x0000 ; Control Register I8254X_REG_STATUS = 0x0008 ; Device Status Register I8254X_REG_CTRLEXT = 0x0018 ; Extended Control...
;VRAM ;0000-03FF BG0 1KWORD ;1000-1FFF CHR 4KWORD 0-255CHR ;2000-2FFF SP 4KWORD 0-64CHR ;3000-3100 SATB ;4000-7BFF CHRBG0 16KWORD 32*32CHR(256*256) 7C00-7FFF 1KWORD(not using) chardatBank .equ 2 spdatBank .equ 3 muldatBank .equ 4 mapdatBank .equ 20 VDC_0 .equ $0000 VDC_1 .equ $0001 VDC_2 ...
.thumb .org 0x0 add r1,r1,r2 strb r1,[r4,#0x1D] ldrb r2,[r0,#0x8] ldrb r1,[r4,#0x1A] add r2,r2,r1 strb r2,[r4,#0x1A] mov r1,r4 add r1,#0x3A ldrb r2,[r1] ldrb r3,[r0,#0x9] @mag bonus add r2,r2,r3 strb r2,[r1] mov r0,r4 bx r14
; Buffering (get line with parity) utility V2.00  1989 Tony Tebby QJUMP section iou xdef iob_glpr xref iob_gbpr include 'dev8_keys_buf' include 'dev8_keys_err' include 'dev8_keys_k' ;+++ ; This routine gets multiple bytes from an IO buffer. The transfer ...
; A297405: Binary "cubes"; numbers whose binary representation consists of three consecutive identical blocks. ; 7,42,63,292,365,438,511,2184,2457,2730,3003,3276,3549,3822,4095,16912,17969,19026,20083,21140,22197,23254,24311,25368,26425,27482,28539,29596,30653,31710,32767,133152,137313,141474,145635,149796,153957,15811...
#ifndef SPROUT_RANGE_ADAPTOR_STEPS_HPP #define SPROUT_RANGE_ADAPTOR_STEPS_HPP #include <type_traits> #include <sprout/config.hpp> #include <sprout/container/traits.hpp> #include <sprout/container/functions.hpp> #include <sprout/iterator/step_iterator.hpp> #include <sprout/range/adaptor/detail/adapted_range_def...
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "beatsaber-hook/shared/utils/typedefs.h" #include "beatsaber-hook/shared/utils/byref.hpp" // Including type: OVR.OpenVR.IVRSystem #include "OVR/...
; A131520: Number of partitions of the graph G_n (defined below) into "strokes". ; 2,6,12,22,40,74,140,270,528,1042,2068,4118,8216,16410,32796,65566,131104,262178,524324,1048614,2097192,4194346,8388652,16777262,33554480,67108914,134217780,268435510,536870968,1073741882,2147483708,4294967358,8589934656,17179869250,34359...
.size 8000 .text@48 jp lstatint .text@100 jp lbegin .data@143 c0 .text@150 lbegin: ld a, 00 ldff(ff), a ld a, 30 ldff(00), a ld a, 01 ldff(4d), a stop, 00 ld a, ff ldff(45), a ld b, 91 call lwaitly_b ld hl, fe00 ld d, 10 ld a, d ld(hl++), a ld a, 08 ld(hl++), a inc l inc l ld a, d ld(hl++), ...
db 0 ; species ID placeholder db 60, 40, 80, 40, 60, 45 ; hp atk def spd sat sdf db GRASS, PSYCHIC ; type db 90 ; catch rate db 98 ; base exp db NO_ITEM, NO_ITEM ; items db GENDER_F50 ; gender ratio db 100 ; unknown 1 db 20 ; step cycles to hatch db 5 ; unknown 2 INCBIN "gfx/pokemon/exeggcute...
object_const_def ; object_event constants const LAKEOFRAGE_LANCE const LAKEOFRAGE_GRAMPS const LAKEOFRAGE_SUPER_NERD1 const LAKEOFRAGE_COOLTRAINER_F1 const LAKEOFRAGE_FISHER1 const LAKEOFRAGE_FISHER2 const LAKEOFRAGE_COOLTRAINER_M const LAKEOFRAGE_COOLTRAINER_F2 const LAKEOFRAGE_GYARADOS const LAKEOFRAGE_WES...
.export _lvl2 _lvl2: .byte 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 .byte 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 .byte 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 .byte 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 .byte 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 .byte 1, 1, 1, 1, 1, 1, 1, 1, 1,...
; Listing generated by Microsoft (R) Optimizing Compiler Version 19.16.27026.1 TITLE Z:\Sources\Lunor\Repos\rougemeilland\Palmtree.Math.Core.Implements\Palmtree.Math.Core.Implements\TEST_op_BitwiseAnd.c .686P .XMM include listing.inc .model flat INCLUDELIB MSVCRTD INCLUDELIB OLDNAMES msvcjmc SEGMENT __7B7A869E...
; A021365: Decimal expansion of 1/361. ; 0,0,2,7,7,0,0,8,3,1,0,2,4,9,3,0,7,4,7,9,2,2,4,3,7,6,7,3,1,3,0,1,9,3,9,0,5,8,1,7,1,7,4,5,1,5,2,3,5,4,5,7,0,6,3,7,1,1,9,1,1,3,5,7,3,4,0,7,2,0,2,2,1,6,0,6,6,4,8,1,9,9,4,4,5,9,8,3,3,7,9,5,0,1,3,8,5,0,4 seq $0,173833 ; 10^n - 3. div $0,361 mod $0,10